diff options
Diffstat (limited to 'src/core/display.c')
-rw-r--r-- | src/core/display.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/display.c b/src/core/display.c index 006cb6ff..6dd13419 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1438,11 +1438,7 @@ static gboolean maybe_send_event_to_gtk(MetaDisplay* display, XEvent* xevent) GdkEvent* gdk_event = NULL; GdkWindow* gdk_window; Window window; -#if GTK_CHECK_VERSION (3, 20, 0) GdkSeat *seat; -#else - GdkDeviceManager *manager; -#endif GdkDevice *device; switch (xevent->type) @@ -1478,14 +1474,9 @@ static gboolean maybe_send_event_to_gtk(MetaDisplay* display, XEvent* xevent) * (client-side) subwindow for individual menu items. */ -#if GTK_CHECK_VERSION (3, 20, 0) gdk_display = gdk_window_get_display (gdk_window); seat = gdk_display_get_default_seat (gdk_display); device = gdk_seat_get_pointer (seat); -#else - manager = gdk_display_get_device_manager (gdk_display); - device = gdk_device_manager_get_client_pointer (manager); -#endif if (gdk_display_device_is_grabbed(gdk_display, device)) { |