summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-01-11 04:40:21 +0000
committerDana Jansens <danakj@orodu.net>2003-01-11 04:40:21 +0000
commit1729df46b5da2e04df6779e158707531ce1cae6d (patch)
tree6badafd2e18062946f1471e10c96dd11d089b382
parent1a7d9771904ff7af0d062596863550a4735f12a3 (diff)
make compiling 'work' with XINERAMA. it doesnt do anything tho
-rw-r--r--otk/display.cc4
-rw-r--r--otk/screeninfo.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/otk/display.cc b/otk/display.cc
index 5bd282e6..33dca01b 100644
--- a/otk/display.cc
+++ b/otk/display.cc
@@ -19,6 +19,10 @@ extern "C" {
#include <X11/extensions/shape.h>
#endif // SHAPE
+#ifdef XINERAMA
+#include <X11/extensions/Xinerama.h>
+#endif // XINERAMA
+
#ifdef HAVE_STDIO_H
# include <stdio.h>
#endif // HAVE_STDIO_H
diff --git a/otk/screeninfo.cc b/otk/screeninfo.cc
index a5fafc5a..08d8517b 100644
--- a/otk/screeninfo.cc
+++ b/otk/screeninfo.cc
@@ -81,7 +81,7 @@ ScreenInfo::ScreenInfo(unsigned int num) {
_display_string = string("DISPLAY=") + default_string + '.' +
otk::itostring(static_cast<unsigned long>(_screen));
-#ifdef XINERAMA
+#if 0 //def XINERAMA
_xinerama_active = False;
if (d->hasXineramaExtensions()) {