mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05: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
|
/* 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,
|
||||||
|
@ -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 ();
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user