summaryrefslogtreecommitdiff
path: root/src/rootwindow.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 00:26:45 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 00:26:45 +0000
commit1fa445c88033e564a25d907a7f478e76bff9e89e (patch)
treecb39dff31461cccbeefafd2ae2007a31b3b8be2d /src/rootwindow.cc
parentbbdfd8f1d6b46954f5611f245ee2c68aa2fe91ce (diff)
handle configure requests
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);
+}
+
+
}