Wayland: Fix key repeat not being stopped when focus leaves window. This is expected behavior on Wayland, apparently

Fixes #2014
This commit is contained in:
Kovid Goyal
2019-09-30 16:45:39 +05:30
parent d37e73db54
commit 19d36fbe69
2 changed files with 8 additions and 0 deletions

1
glfw/wl_init.c vendored
View File

@@ -398,6 +398,7 @@ static void keyboardHandleLeave(void* data UNUSED,
_glfw.wl.keyboardFocus = NULL;
_glfwInputWindowFocus(window, false);
toggleTimer(&_glfw.wl.eventLoopData, _glfw.wl.keyRepeatInfo.keyRepeatTimer, 0);
}
static void