mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
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:
parent
a8cd488c6f
commit
cca531339d
@ -1270,7 +1270,6 @@ meta_display_windows_are_interactable (MetaDisplay *display)
|
||||
switch (display->event_route)
|
||||
{
|
||||
case META_EVENT_ROUTE_NORMAL:
|
||||
case META_EVENT_ROUTE_WAYLAND_POPUP:
|
||||
return TRUE;
|
||||
default:
|
||||
return FALSE;
|
||||
@ -1829,9 +1828,6 @@ get_event_route_from_grab_op (MetaGrabOp op)
|
||||
case META_GRAB_OP_WINDOW_BASE:
|
||||
return META_EVENT_ROUTE_WINDOW_OP;
|
||||
|
||||
case META_GRAB_OP_WAYLAND_POPUP:
|
||||
return META_EVENT_ROUTE_WAYLAND_POPUP;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
return 0;
|
||||
|
@ -132,9 +132,6 @@ typedef enum
|
||||
/* Window grab ops. */
|
||||
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_RESIZING_NW = META_GRAB_OP_WINDOW_BASE | _WGO_N | _WGO_W,
|
||||
META_GRAB_OP_RESIZING_N = META_GRAB_OP_WINDOW_BASE | _WGO_N,
|
||||
|
Loading…
Reference in New Issue
Block a user