Merge branch 'cherry-picked-wayland-keyboard-fix' into 'master'

gdk/wayland: Clear modifiers when we lose keyboard focus

Closes #2112

See merge request GNOME/gtk!1610
This commit is contained in:
Matthias Clasen 2020-04-02 20:43:29 +00:00
commit 6e6b4a851f

View File

@ -1934,6 +1934,7 @@ keyboard_handle_leave (void *data,
g_object_unref (seat->keyboard_focus);
seat->keyboard_focus = NULL;
seat->repeat_key = 0;
seat->key_modifiers = 0;
GDK_SEAT_NOTE (seat, EVENTS,
g_message ("focus out, seat %p surface %p",