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
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,13 @@ Changelog
|kitty| is a feature full, cross-platform, *fast*, GPU based terminal emulator. |kitty| is a feature full, cross-platform, *fast*, GPU based terminal emulator.
To update |kitty|, :doc:`follow the instructions <binary>`. To update |kitty|, :doc:`follow the instructions <binary>`.
0.15.0 [future]
--------------------
- Wayland: Fix key repeat not being stopped when focus leaves window. This is
expected behavior on Wayland, apparently (:iss:`2014`)
0.14.6 [2019-09-25] 0.14.6 [2019-09-25]
--------------------- ---------------------

1
glfw/wl_init.c vendored
View File

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