summaryrefslogtreecommitdiff
path: root/src/xfns.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2013-05-07 19:47:25 +0200
committerJan Djärv <jan.h.d@swipnet.se>2013-05-07 19:47:25 +0200
commit5ea03bf5a122a6531f51e40fe654732705c6e5a1 (patch)
tree83f4574fe6bafd21ac00028ac042bb8758220c6c /src/xfns.c
parent276e88731bb652be2e4458d32be1865437d0b575 (diff)
* xfns.c: Move misplaced ifndef USE_GTK from previous checkin.
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 d45d113a74..8254f3cf22 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -3804,8 +3804,6 @@ If omitted or nil, that stands for the selected frame's display. */)
Return false if and only if the workarea information cannot be
obtained via the _NET_WORKAREA root window property. */
-#ifndef USE_GTK
-
static bool
x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
{
@@ -3864,6 +3862,8 @@ x_get_net_workarea (struct x_display_info *dpyinfo, XRectangle *rect)
return result;
}
+#ifndef USE_GTK
+
struct MonitorInfo {
XRectangle geom, work;
int mm_width, mm_height;