From: Kirill Chibisov Date: Sun, 24 May 2020 11:12:44 +0000 (+0300) Subject: Clarify clients behavior on wl_keyboard.leave X-Git-Tag: 1.18.91~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57b7c7d9463f391a1cae6fa049b2f98a3de3d09e;p=platform%2Fupstream%2Fwayland.git Clarify clients behavior on wl_keyboard.leave Clients must assume that every key, including modifiers, are lifted after getting wl_keyboard.leave event, not doing so could lead to key repeat keep going after the user changes focus, or stuck modifiers, when the user interacts with client without keyboard focus. Signed-off-by: Kirill Chibisov --- diff --git a/protocol/wayland.xml b/protocol/wayland.xml index 8e4a75c..9784680 100644 --- a/protocol/wayland.xml +++ b/protocol/wayland.xml @@ -2218,6 +2218,9 @@ The leave notification is sent before the enter notification for the new focus. + + After this event client must assume that all keys, including modifiers, + are lifted and also it must stop key repeating if there's some going on.