X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Feventdispatcher.cc;h=8c245ddeb3f00a24d517806ab82a8fbe46cc8b8f;hb=6e2f3f9f8a2b4b83648c9c8b9993d321b3f60a79;hp=a1858eee49917872d17b90ce6beccbc1cdb3be1c;hpb=1862fd052f1843e54225fbc6f213e13c317cbca8;p=chaz%2Fopenbox diff --git a/otk/eventdispatcher.cc b/otk/eventdispatcher.cc index a1858eee..8c245dde 100644 --- a/otk/eventdispatcher.cc +++ b/otk/eventdispatcher.cc @@ -6,6 +6,13 @@ #include "eventdispatcher.hh" #include "display.hh" + +extern "C" { +#ifdef HAVE_STDIO_H +# include +#endif +} + #include namespace otk { @@ -165,7 +172,11 @@ void EventDispatcher::dispatch(Window win, const XEvent &e) xwc.border_width = e.xconfigurerequest.border_width; xwc.sibling = e.xconfigurerequest.above; xwc.stack_mode = e.xconfigurerequest.detail; - + +#ifdef DEBUG + printf("Proxying configure event for 0x%lx\n", e.xconfigurerequest.window); +#endif + // we are not to be held responsible if someone sends us an invalid // request! display->setIgnoreErrors(true);