summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfns.c')
-rw-r--r--src/xfns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xfns.c b/src/xfns.c
index 021efafd579..b94666d5548 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -4572,6 +4572,8 @@ On MS Windows, this just returns nil. */)
return Qnil;
}
+#ifndef USE_GTK
+
/* Store the geometry of the workarea on display DPYINFO into *RECT.
Return false if and only if the workarea information cannot be
obtained via the _NET_WORKAREA root window property. */
@@ -4634,8 +4636,6 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
return result;
}
-#ifndef USE_GTK
-
/* Return monitor number where F is "most" or closest to. */
static int
x_get_monitor_for_frame (struct frame *f,