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:
Carlos Garnacho
2022-09-28 12:13:42 +02:00
committed by Marge Bot
parent 970ef35a62
commit a5bd0c39fe
4 changed files with 1 additions and 9 deletions

View File

@ -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;