summaryrefslogtreecommitdiff
path: root/src/rootwindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rootwindow.cc')
-rw-r--r--src/rootwindow.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/rootwindow.cc b/src/rootwindow.cc
index 3fccc44a..bc62fdc5 100644
--- a/src/rootwindow.cc
+++ b/src/rootwindow.cc
@@ -108,4 +108,24 @@ void OBRootWindow::mapRequestHandler(const XMapRequestEvent &e)
}
}
+
+#include <stdio.h>
+void OBRootWindow::configureRequestHandler(const XConfigureRequestEvent &e)
+{
+ // when configure requests come to the root window, just pass them on
+ XWindowChanges xwc;
+
+ xwc.x = e.x;
+ xwc.y = e.y;
+ xwc.width = e.width;
+ xwc.height = e.height;
+ xwc.border_width = e.border_width;
+ xwc.sibling = e.above;
+ xwc.stack_mode = e.detail;
+
+ XConfigureWindow(otk::OBDisplay::display, e.window,
+ e.value_mask, &xwc);
+}
+
+
}