aboutsummaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-02 13:05:04 +0200
committerarg@10ksloc.org <unknown>2006-08-02 13:05:04 +0200
commita55f0e12fe5c1205f4d3e40c164fd087224fad7a (patch)
tree0ca0d9b6207465a0481002e8b7839d7d100eb2a9 /event.c
parent0cf3ba0eab1e3b05515907b29fbb739321a7cbed (diff)
new stuff
Diffstat (limited to 'event.c')
-rw-r--r--event.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/event.c b/event.c
index a961e5c..faee103 100644
--- a/event.c
+++ b/event.c
@@ -175,11 +175,8 @@ configurerequest(XEvent *e)
wc.width = ev->width;
wc.height = ev->height;
wc.border_width = 1;
- wc.sibling = None;
- wc.stack_mode = Above;
- ev->value_mask &= ~CWStackMode;
- ev->value_mask |= CWBorderWidth;
- XConfigureWindow(dpy, ev->window, ev->value_mask, &wc);
+ XConfigureWindow(dpy, ev->window,
+ CWX|CWY|CWWidth|CWHeight|CWBorderWidth, &wc);
XSync(dpy, False);
}