mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
core: Drop META_GRAB_OP_COMPOSITOR
There is no longer meta_plugin_begin_modal(), so this grab operation is no longer used. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2100>
This commit is contained in:
@ -1817,10 +1817,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_COMPOSITOR:
|
||||
/* begin_grab_op shouldn't be called with META_GRAB_OP_COMPOSITOR. */
|
||||
g_assert_not_reached ();
|
||||
|
||||
case META_GRAB_OP_WAYLAND_POPUP:
|
||||
return META_EVENT_ROUTE_WAYLAND_POPUP;
|
||||
|
||||
@ -2053,9 +2049,7 @@ meta_display_end_grab_op (MetaDisplay *display,
|
||||
* Gets the current grab operation, if any.
|
||||
*
|
||||
* Return value: the current grab operation, or %META_GRAB_OP_NONE if
|
||||
* Mutter doesn't currently have a grab. %META_GRAB_OP_COMPOSITOR will
|
||||
* be returned if a compositor-plugin modal operation is in effect
|
||||
* (See mutter_begin_modal_for_plugin())
|
||||
* Mutter doesn't currently have a grab.
|
||||
*/
|
||||
MetaGrabOp
|
||||
meta_display_get_grab_op (MetaDisplay *display)
|
||||
|
Reference in New Issue
Block a user