mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
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:
parent
a91feeb5df
commit
589ec26b04
@ -85,10 +85,6 @@ typedef enum
|
||||
/* In a window operation like moving or resizing. All events
|
||||
* goes to MetaWindow, but not to the actual client window. */
|
||||
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;
|
||||
|
||||
typedef void (* MetaDisplayWindowFunc) (MetaWindow *window,
|
||||
|
@ -108,7 +108,6 @@ get_window_for_event (MetaDisplay *display,
|
||||
return NULL;
|
||||
}
|
||||
case META_EVENT_ROUTE_WINDOW_OP:
|
||||
case META_EVENT_ROUTE_WAYLAND_POPUP:
|
||||
return display->grab_window;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
|
@ -335,7 +335,6 @@ sync_focus_surface (MetaWaylandPointer *pointer)
|
||||
break;
|
||||
|
||||
case META_EVENT_ROUTE_NORMAL:
|
||||
case META_EVENT_ROUTE_WAYLAND_POPUP:
|
||||
{
|
||||
const MetaWaylandPointerGrabInterface *interface = pointer->grab->interface;
|
||||
interface->focus (pointer->grab, pointer->current);
|
||||
@ -512,7 +511,6 @@ default_grab_focus (MetaWaylandPointerGrab *grab,
|
||||
break;
|
||||
|
||||
case META_EVENT_ROUTE_NORMAL:
|
||||
case META_EVENT_ROUTE_WAYLAND_POPUP:
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -593,7 +593,6 @@ sync_focus_surface (MetaWaylandTabletTool *tool,
|
||||
break;
|
||||
|
||||
case META_EVENT_ROUTE_NORMAL:
|
||||
case META_EVENT_ROUTE_WAYLAND_POPUP:
|
||||
meta_wayland_tablet_tool_set_focus (tool, tool->current, event);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user