]> Dogcows Code - chaz/openbox/blobdiff - otk/display.cc
broken to all hell. oh no.
[chaz/openbox] / otk / display.cc
index 5bd282e6c66a5f434394f81bf5e46f6b7cb79473..c1d6c61e0dfeb242a909eb98ac09063695d45414 100644 (file)
@@ -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
@@ -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\
This page took 0.020163 seconds and 4 git commands to generate.