diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 107b77cb3..05a868438 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -494,6 +494,7 @@ meta_wayland_pointer_disable (MetaWaylandPointer *pointer) } meta_wayland_pointer_end_grab (pointer); + meta_wayland_pointer_set_focus (pointer, NULL); g_clear_pointer (&pointer->pointer_clients, g_hash_table_unref); pointer->cursor_surface = NULL;