core: Drop META_GRAB_OP_WAYLAND_POPUP

This is no longer used, these being fully handled on the wayland
side.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
Carlos Garnacho 2022-09-29 15:26:46 +02:00 committed by Marge Bot
parent a8cd488c6f
commit cca531339d
2 changed files with 0 additions and 7 deletions

View File

@ -1270,7 +1270,6 @@ meta_display_windows_are_interactable (MetaDisplay *display)
switch (display->event_route) switch (display->event_route)
{ {
case META_EVENT_ROUTE_NORMAL: case META_EVENT_ROUTE_NORMAL:
case META_EVENT_ROUTE_WAYLAND_POPUP:
return TRUE; return TRUE;
default: default:
return FALSE; return FALSE;
@ -1829,9 +1828,6 @@ get_event_route_from_grab_op (MetaGrabOp op)
case META_GRAB_OP_WINDOW_BASE: case META_GRAB_OP_WINDOW_BASE:
return META_EVENT_ROUTE_WINDOW_OP; return META_EVENT_ROUTE_WINDOW_OP;
case META_GRAB_OP_WAYLAND_POPUP:
return META_EVENT_ROUTE_WAYLAND_POPUP;
default: default:
g_assert_not_reached (); g_assert_not_reached ();
return 0; return 0;

View File

@ -132,9 +132,6 @@ typedef enum
/* Window grab ops. */ /* Window grab ops. */
META_GRAB_OP_WINDOW_BASE, META_GRAB_OP_WINDOW_BASE,
/* For when a Wayland client takes a popup grab. */
META_GRAB_OP_WAYLAND_POPUP,
META_GRAB_OP_MOVING = META_GRAB_OP_WINDOW_BASE, META_GRAB_OP_MOVING = META_GRAB_OP_WINDOW_BASE,
META_GRAB_OP_RESIZING_NW = META_GRAB_OP_WINDOW_BASE | _WGO_N | _WGO_W, META_GRAB_OP_RESIZING_NW = META_GRAB_OP_WINDOW_BASE | _WGO_N | _WGO_W,
META_GRAB_OP_RESIZING_N = META_GRAB_OP_WINDOW_BASE | _WGO_N, META_GRAB_OP_RESIZING_N = META_GRAB_OP_WINDOW_BASE | _WGO_N,