diff options
author | monsta <[email protected]> | 2018-01-27 23:29:02 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-28 16:15:18 +0100 |
commit | 16de6ccd2906b93f79880612b31a12a1e53557c7 (patch) | |
tree | c1643f9e04908007ee58457f7532225a9f56d7bd /src/ui/ui.c | |
parent | 4525d9b629ed76df0bc7d9b10b52c990fa112351 (diff) | |
download | marco-16de6ccd2906b93f79880612b31a12a1e53557c7.tar.bz2 marco-16de6ccd2906b93f79880612b31a12a1e53557c7.tar.xz |
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/ui/ui.c')
-rw-r--r-- | src/ui/ui.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/ui.c b/src/ui/ui.c index 5af02ae6..c8b7e93e 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -94,11 +94,7 @@ maybe_redirect_mouse_event (XEvent *xevent) { GdkDisplay *gdisplay; MetaUI *ui; -#if GTK_CHECK_VERSION(3, 20, 0) GdkSeat *seat; -#else - GdkDeviceManager *gmanager; -#endif GdkDevice *gdevice; GdkEvent *gevent; GdkWindow *gdk_window; @@ -130,13 +126,8 @@ maybe_redirect_mouse_event (XEvent *xevent) if (gdk_window == NULL) return FALSE; -#if GTK_CHECK_VERSION(3, 20, 0) seat = gdk_display_get_default_seat (gdisplay); gdevice = gdk_seat_get_pointer (seat); -#else - gmanager = gdk_display_get_device_manager (gdisplay); - gdevice = gdk_device_manager_get_client_pointer (gmanager); -#endif /* If GDK already thinks it has a grab, we better let it see events; this * is the menu-navigation case and events need to get sent to the appropriate |