X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fdisplay.cc;h=4613b9ba9a5b5da75b8a5b5a43d5fdfeeb2c96e8;hb=73f6bb1a7b6bb5f8b9cf22587722d713a1f15b59;hp=3720364366341ca383e50a7592a0e0a56a965fc6;hpb=83322ce3be2e22772f8b0669e393a07ecb78ab68;p=chaz%2Fopenbox diff --git a/otk/display.cc b/otk/display.cc index 37203643..4613b9ba 100644 --- a/otk/display.cc +++ b/otk/display.cc @@ -11,6 +11,10 @@ extern "C" { #include +#ifdef SHAPE +#include +#endif // SHAPE + #ifdef HAVE_STDIO_H # include #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); }