mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
core: Drop META_EVENT_ROUTE_FRAME_BUTTON
With META_GRAB_OP_FRAME_BUTTON gone, this is no longer used. Drop this event route. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:

committed by
Marge Bot

parent
970ef35a62
commit
a5bd0c39fe
@ -330,7 +330,6 @@ sync_focus_surface (MetaWaylandPointer *pointer)
|
||||
switch (display->event_route)
|
||||
{
|
||||
case META_EVENT_ROUTE_WINDOW_OP:
|
||||
case META_EVENT_ROUTE_FRAME_BUTTON:
|
||||
/* The compositor has a grab, so remove our focus... */
|
||||
meta_wayland_pointer_set_focus (pointer, NULL);
|
||||
break;
|
||||
@ -509,7 +508,6 @@ default_grab_focus (MetaWaylandPointerGrab *grab,
|
||||
switch (display->event_route)
|
||||
{
|
||||
case META_EVENT_ROUTE_WINDOW_OP:
|
||||
case META_EVENT_ROUTE_FRAME_BUTTON:
|
||||
return;
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user