aboutsummaryrefslogtreecommitdiffstats
path: root/dzen.h
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-24 10:43:37 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-24 10:43:37 +0000
commitb607cba0a9cb835143e61625ebbe9e1e5750d197 (patch)
treee3c19218d7fac7e5f6d71e56535cc3d7559574d9 /dzen.h
parent4ad34ccd36a59c1c5ec2ea9b4263ae6381f3feae (diff)
downloaddzen-b607cba0a9cb835143e61625ebbe9e1e5750d197.tar.gz
dzen-b607cba0a9cb835143e61625ebbe9e1e5750d197.zip
added optional Xinerama support, thanks David Glasser
git-svn-id: http://dzen.googlecode.com/svn/trunk@29 f2baff5b-bf2c-0410-a398-912abdc3d8b2
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;