]> Dogcows Code - chaz/openbox/blobdiff - otk/eventdispatcher.cc
unmap works.. once
[chaz/openbox] / otk / eventdispatcher.cc
index 75a06ea1489aec97ef8ac7203cfb21c670576fc8..2a0c4448f59c045c604e75e1261b4c118d66f103 100644 (file)
@@ -33,7 +33,7 @@ void OtkEventDispatcher::clearHandler(Window id)
 {
   _map.erase(id);
 }
-#include <stdio.h>
+
 void OtkEventDispatcher::dispatchEvents(void)
 {
   XEvent e;
@@ -52,23 +52,6 @@ void OtkEventDispatcher::dispatchEvents(void)
 
     if (handler)
       handler->handle(e);
-    else {
-      // some events have to be handled anyways!
-      if (e.type == ConfigureRequest) {
-        XWindowChanges xwc;
-
-        xwc.x = e.xconfigurerequest.x;
-        xwc.y = e.xconfigurerequest.y;
-        xwc.width = e.xconfigurerequest.width;
-        xwc.height = e.xconfigurerequest.height;
-        xwc.border_width = e.xconfigurerequest.border_width;
-        xwc.sibling = e.xconfigurerequest.above;
-        xwc.stack_mode = e.xconfigurerequest.detail;
-
-        XConfigureWindow(OBDisplay::display, e.xconfigurerequest.window,
-                         e.xconfigurerequest.value_mask, &xwc);
-      }
-    }
   }
 }
 
This page took 0.023963 seconds and 4 git commands to generate.