core: Drop META_GRAB_OP_FRAME_BUTTON
This is no longer used, since frames and their buttons are no longer handled by Mutter. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
parent
89aef6930e
commit
970ef35a62
@ -1832,9 +1832,6 @@ get_event_route_from_grab_op (MetaGrabOp op)
|
||||
case META_GRAB_OP_WAYLAND_POPUP:
|
||||
return META_EVENT_ROUTE_WAYLAND_POPUP;
|
||||
|
||||
case META_GRAB_OP_FRAME_BUTTON:
|
||||
return META_EVENT_ROUTE_FRAME_BUTTON;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
return 0;
|
||||
|
@ -135,9 +135,6 @@ typedef enum
|
||||
/* For when a Wayland client takes a popup grab. */
|
||||
META_GRAB_OP_WAYLAND_POPUP,
|
||||
|
||||
/* For when the user clicks on a frame button. */
|
||||
META_GRAB_OP_FRAME_BUTTON,
|
||||
|
||||
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