diff --git a/src/core/display-private.h b/src/core/display-private.h index d349acae8..8cd251df8 100644 --- a/src/core/display-private.h +++ b/src/core/display-private.h @@ -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, diff --git a/src/core/events.c b/src/core/events.c index 1ad89089f..06ab1ef2e 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -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 (); diff --git a/src/wayland/meta-wayland-pointer.c b/src/wayland/meta-wayland-pointer.c index ea44dfeb3..9ae7eeb0a 100644 --- a/src/wayland/meta-wayland-pointer.c +++ b/src/wayland/meta-wayland-pointer.c @@ -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; } diff --git a/src/wayland/meta-wayland-tablet-tool.c b/src/wayland/meta-wayland-tablet-tool.c index 510baff1e..44cfadeee 100644 --- a/src/wayland/meta-wayland-tablet-tool.c +++ b/src/wayland/meta-wayland-tablet-tool.c @@ -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;