diff --git a/src/core/display.c b/src/core/display.c index 3000ab8b3..0a191c0fb 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1480,10 +1480,6 @@ meta_display_sync_wayland_input_focus (MetaDisplay *display) #ifdef HAVE_WAYLAND MetaWaylandCompositor *compositor = wayland_compositor_from_display (display); MetaWindow *focus_window = NULL; - MetaBackend *backend = backend_from_display (display); - ClutterBackend *clutter_backend = meta_backend_get_clutter_backend (backend); - ClutterSeat *seat = clutter_backend_get_default_seat (clutter_backend); - MetaStage *stage = META_STAGE (meta_backend_get_stage (backend)); gboolean is_no_focus_xwindow = FALSE; #ifdef HAVE_X11_CLIENT @@ -1503,9 +1499,6 @@ meta_display_sync_wayland_input_focus (MetaDisplay *display) meta_topic (META_DEBUG_FOCUS, "Focus change has no effect, because there is no matching wayland surface"); meta_wayland_compositor_set_input_focus (compositor, focus_window); - - clutter_stage_repick_device (CLUTTER_STAGE (stage), - clutter_seat_get_pointer (seat)); #endif }