]> Dogcows Code - chaz/openbox/blobdiff - otk/display.cc
move screen.cc/hh to bbscreen.cc/hh
[chaz/openbox] / otk / display.cc
index 3720364366341ca383e50a7592a0e0a56a965fc6..4613b9ba9a5b5da75b8a5b5a43d5fdfeeb2c96e8 100644 (file)
 extern "C" {
 #include <X11/keysym.h>
 
+#ifdef    SHAPE
+#include <X11/extensions/shape.h>
+#endif // SHAPE
+
 #ifdef    HAVE_STDIO_H
 #  include <stdio.h>
 #endif // HAVE_STDIO_H
@@ -54,7 +58,8 @@ int OBDisplay::xerrorHandler(Display *d, XErrorEvent *e)
 #ifdef DEBUG
   char errtxt[128];
 
-  if (e->error_code != BadWindow) {
+  //if (e->error_code != BadWindow)
+  {
     XGetErrorText(d, e->error_code, errtxt, 128);
     printf("X Error: %s\n", errtxt);
   }
This page took 0.023794 seconds and 4 git commands to generate.