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:
parent
d37e73db54
commit
19d36fbe69
@ -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
1
glfw/wl_init.c
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user