From 1fa445c88033e564a25d907a7f478e76bff9e89e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 4 Dec 2002 00:26:45 +0000 Subject: handle configure requests --- src/rootwindow.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/rootwindow.cc') 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 +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); +} + + } -- cgit v1.2.3