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 #endif // SHAPE +#ifdef XINERAMA +#include +#endif // XINERAMA + #ifdef HAVE_STDIO_H # include #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(_screen)); -#ifdef XINERAMA +#if 0 //def XINERAMA _xinerama_active = False; if (d->hasXineramaExtensions()) {