summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gs-grab-x11.c2
-rw-r--r--src/gs-manager.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gs-grab-x11.c b/src/gs-grab-x11.c
index 6f1a58f..4fe4901 100644
--- a/src/gs-grab-x11.c
+++ b/src/gs-grab-x11.c
@@ -582,7 +582,7 @@ gs_grab_grab_root (GSGrab *grab,
display = gdk_display_get_default ();
#if GTK_CHECK_VERSION (3, 0, 0)
-#if GTK_CHECK_VERSION(3, 20, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
#else
device = gdk_device_manager_get_client_pointer (gdk_display_get_device_manager (display));
diff --git a/src/gs-manager.c b/src/gs-manager.c
index c5ce240..2c7490b 100644
--- a/src/gs-manager.c
+++ b/src/gs-manager.c
@@ -1115,7 +1115,7 @@ find_window_at_pointer (GSManager *manager)
display = gdk_display_get_default ();
#if GTK_CHECK_VERSION (3, 0, 0)
-#if GTK_CHECK_VERSION(3, 20, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
#else
device = gdk_device_manager_get_client_pointer (gdk_display_get_device_manager (display));
@@ -1185,7 +1185,7 @@ manager_maybe_grab_window (GSManager *manager,
display = gdk_display_get_default ();
#if GTK_CHECK_VERSION (3, 0, 0)
-#if GTK_CHECK_VERSION(3, 20, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
device = gdk_seat_get_pointer (gdk_display_get_default_seat (display));
#else
device = gdk_device_manager_get_client_pointer (gdk_display_get_device_manager (display));