From 16de6ccd2906b93f79880612b31a12a1e53557c7 Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 27 Jan 2018 23:29:02 +0300 Subject: require GTK+ 3.22 and GLib 2.50 --- src/core/display.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/core') 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)) { -- cgit v1.2.1