diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 0c850147f4..0e1ac1d283 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -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",