[mutter] events: Remove obsolete COMPOSITOR_GRAB check



commit 022f47ebfe09e693246978a6875ec263fd2084b8
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri May 27 19:33:32 2022 +0200

    events: Remove obsolete COMPOSITOR_GRAB check
    
    We already bypass wayland if there is a ClutterGrab, so the case
    that used to be covered by the event-route check is already handled,
    and we can just remove the obsolete check.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2436>

 src/core/events.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/core/events.c b/src/core/events.c
index d5a9a93da3..1863e8a58d 100644
--- a/src/core/events.c
+++ b/src/core/events.c
@@ -524,10 +524,6 @@ meta_display_handle_event (MetaDisplay        *display,
     }
 
  out:
-  /* If the compositor has a grab, don't pass that through to Wayland */
-  if (display->event_route == META_EVENT_ROUTE_COMPOSITOR_GRAB)
-    bypass_wayland = TRUE;
-
   /* If a Wayland client has a grab, don't pass that through to Clutter */
   if (display->event_route == META_EVENT_ROUTE_WAYLAND_POPUP)
     bypass_clutter = !bypass_wayland;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]