]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.cc
set the gravity to center the dialog.
[chaz/openbox] / otk / eventdispatcher.cc
index a1858eee49917872d17b90ce6beccbc1cdb3be1c..0560eec8609e27b21c56233e5f53dad9a96a4e15 100644 (file)
@@ -1,11 +1,11 @@
 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
 
-#ifdef HAVE_CONFIG_H
-# include "../config.h"
-#endif
+#include "config.h"
 
 #include "eventdispatcher.hh"
 #include "display.hh"
+
+#include <cstdio>
 #include <iostream>
 
 namespace otk {
@@ -165,7 +165,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); 
This page took 0.022664 seconds and 4 git commands to generate.