core: Drop META_EVENT_ROUTE_WAYLAND_POPUP

This is now unused.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2683>
This commit is contained in:
Carlos Garnacho 2022-09-29 15:34:17 +02:00 committed by Marge Bot
parent a91feeb5df
commit 589ec26b04
4 changed files with 0 additions and 8 deletions

View File

@ -85,10 +85,6 @@ typedef enum
/* In a window operation like moving or resizing. All events /* In a window operation like moving or resizing. All events
* goes to MetaWindow, but not to the actual client window. */ * goes to MetaWindow, but not to the actual client window. */
META_EVENT_ROUTE_WINDOW_OP, META_EVENT_ROUTE_WINDOW_OP,
/* A Wayland application has a popup open. All events go to
* the Wayland application. */
META_EVENT_ROUTE_WAYLAND_POPUP,
} MetaEventRoute; } MetaEventRoute;
typedef void (* MetaDisplayWindowFunc) (MetaWindow *window, typedef void (* MetaDisplayWindowFunc) (MetaWindow *window,

View File

@ -108,7 +108,6 @@ get_window_for_event (MetaDisplay *display,
return NULL; return NULL;
} }
case META_EVENT_ROUTE_WINDOW_OP: case META_EVENT_ROUTE_WINDOW_OP:
case META_EVENT_ROUTE_WAYLAND_POPUP:
return display->grab_window; return display->grab_window;
default: default:
g_assert_not_reached (); g_assert_not_reached ();

View File

@ -335,7 +335,6 @@ sync_focus_surface (MetaWaylandPointer *pointer)
break; break;
case META_EVENT_ROUTE_NORMAL: case META_EVENT_ROUTE_NORMAL:
case META_EVENT_ROUTE_WAYLAND_POPUP:
{ {
const MetaWaylandPointerGrabInterface *interface = pointer->grab->interface; const MetaWaylandPointerGrabInterface *interface = pointer->grab->interface;
interface->focus (pointer->grab, pointer->current); interface->focus (pointer->grab, pointer->current);
@ -512,7 +511,6 @@ default_grab_focus (MetaWaylandPointerGrab *grab,
break; break;
case META_EVENT_ROUTE_NORMAL: case META_EVENT_ROUTE_NORMAL:
case META_EVENT_ROUTE_WAYLAND_POPUP:
break; break;
} }

View File

@ -593,7 +593,6 @@ sync_focus_surface (MetaWaylandTabletTool *tool,
break; break;
case META_EVENT_ROUTE_NORMAL: case META_EVENT_ROUTE_NORMAL:
case META_EVENT_ROUTE_WAYLAND_POPUP:
meta_wayland_tablet_tool_set_focus (tool, tool->current, event); meta_wayland_tablet_tool_set_focus (tool, tool->current, event);
break; break;