diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 5201d7d313..4e8f98f2bf 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -1184,6 +1184,8 @@ keyboard_handle_leave (void *data, if (!device->keyboard_focus) return; + stop_key_repeat (device); + _gdk_wayland_display_update_serial (display, serial); event = gdk_event_new (GDK_FOCUS_CHANGE);