X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.cc;h=c1d6c61e0dfeb242a909eb98ac09063695d45414;hb=19bfac5195a1917f4a0bbcf910e90d5b800c5146;hp=5bd282e6c66a5f434394f81bf5e46f6b7cb79473;hpb=345d957e1ea577480f807b892b73c3f52fe913d2;p=chaz%2Fopenbox diff --git a/otk/display.cc b/otk/display.cc index 5bd282e6..c1d6c61e 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 @@ -89,6 +93,7 @@ void OBDisplay::initialize(char *name) (void)junk; // Open the X display + printf("getenv(DISPLAY)=%s\n", getenv("DISPLAY")); if (!(display = XOpenDisplay(name))) { printf(_("Unable to open connection to the X server. Please set the \n\ DISPLAY environment variable approriately, or use the '-display' command \n\