diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index 3fc05ecb7..a38a35fdc 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -272,11 +272,8 @@ sync_focus_surface (MetaWaylandPointer *pointer) g_assert_not_reached (); } - if (focus_surface != pointer->focus_surface) - { - const MetaWaylandPointerGrabInterface *interface = pointer->grab->interface; - interface->focus (pointer->grab, focus_surface); - } + const MetaWaylandPointerGrabInterface *interface = pointer->grab->interface; + interface->focus (pointer->grab, focus_surface); } static void