From 1729df46b5da2e04df6779e158707531ce1cae6d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 11 Jan 2003 04:40:21 +0000 Subject: [PATCH] make compiling 'work' with XINERAMA. it doesnt do anything tho --- otk/display.cc | 4 ++++ otk/screeninfo.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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()) { -- 2.39.2