Merge branch 'keyboard-focus' into 'gtk-3-24'

gdk/wayland: Clear modifiers when we lose keyboard focus

See merge request GNOME/gtk!1609
This commit is contained in:
Matthias Clasen 2020-04-02 19:23:36 +00:00
commit 94a2827ed9

View File

@ -1986,6 +1986,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_NOTE (EVENTS,
g_message ("focus out, seat %p surface %p",