make compiling 'work' with XINERAMA. it doesnt do anything tho
This commit is contained in:
parent
1a7d977190
commit
1729df46b5
2 changed files with 5 additions and 1 deletions
|
@ -19,6 +19,10 @@ extern "C" {
|
||||||
#include <X11/extensions/shape.h>
|
#include <X11/extensions/shape.h>
|
||||||
#endif // SHAPE
|
#endif // SHAPE
|
||||||
|
|
||||||
|
#ifdef XINERAMA
|
||||||
|
#include <X11/extensions/Xinerama.h>
|
||||||
|
#endif // XINERAMA
|
||||||
|
|
||||||
#ifdef HAVE_STDIO_H
|
#ifdef HAVE_STDIO_H
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
#endif // HAVE_STDIO_H
|
#endif // HAVE_STDIO_H
|
||||||
|
|
|
@ -81,7 +81,7 @@ ScreenInfo::ScreenInfo(unsigned int num) {
|
||||||
_display_string = string("DISPLAY=") + default_string + '.' +
|
_display_string = string("DISPLAY=") + default_string + '.' +
|
||||||
otk::itostring(static_cast<unsigned long>(_screen));
|
otk::itostring(static_cast<unsigned long>(_screen));
|
||||||
|
|
||||||
#ifdef XINERAMA
|
#if 0 //def XINERAMA
|
||||||
_xinerama_active = False;
|
_xinerama_active = False;
|
||||||
|
|
||||||
if (d->hasXineramaExtensions()) {
|
if (d->hasXineramaExtensions()) {
|
||||||
|
|
Loading…
Reference in a new issue