aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
Diffstat (limited to 'dzen.h')
-rw-r--r--dzen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dzen.h b/dzen.h
index 8f6b8a6..d3b37ab 100644
--- a/dzen.h
+++ b/dzen.h
@@ -5,6 +5,9 @@
#include <X11/Xlib.h>
#include <X11/Xutil.h>
+#ifdef DZEN_XINERAMA
+#include <X11/extensions/Xinerama.h>
+#endif
#include <pthread.h>
#define FONT "-*-fixed-*-*-*-*-*-*-*-*-*-*-*-*"
@@ -93,6 +96,9 @@ struct DZEN {
pthread_mutex_t mt;
int ret_val;
+
+ /* should always be 0 if DZEN_XINERAMA not defined */
+ int xinescreen;
};
extern Dzen dzen;