From f2ff3172060feb9d41ce4cd2e95e5793c3d2daac Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Fri, 21 Oct 2022 17:23:36 +0200 Subject: [PATCH] core: Drop unnecessary code This is already handled by the meta_compositor_grab_begin/end calls, for the Wayland cases. Part-of: --- src/core/events.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/events.c b/src/core/events.c index edf010337..55c8b86cc 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -231,15 +231,9 @@ meta_display_handle_event (MetaDisplay *display, if (display->grabbed_in_clutter != has_grab) { -#ifdef HAVE_WAYLAND - if (wayland_compositor) - meta_display_sync_wayland_input_focus (display); -#endif - if (!display->grabbed_in_clutter && has_grab) { display->grabbed_in_clutter = TRUE; - meta_display_cancel_touch (display); meta_compositor_grab_begin (compositor); } else if (display->grabbed_in_clutter && !has_grab)