diff options
author | okan <okan> | 2013-06-10 20:11:43 +0000 |
---|---|---|
committer | okan <okan> | 2013-06-10 20:11:43 +0000 |
commit | b365ceac0e5370ac151362aa077e2620f9ec9d09 (patch) | |
tree | 83777297e5f84e7a1786810de6f9771205544f35 | |
parent | 09f327556155b606f108a920c8b8125cdd4f08bd (diff) | |
download | cwm-b365ceac0e5370ac151362aa077e2620f9ec9d09.tar.gz cwm-b365ceac0e5370ac151362aa077e2620f9ec9d09.tar.xz cwm-b365ceac0e5370ac151362aa077e2620f9ec9d09.zip |
Check for, and honour, CWStackMode and CWSibling change requests during a
ConfigureRequest event. Additionally, honour a border width change; detailed report and patch from Mike Small.
-rw-r--r-- | xevents.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c index 0a8dc9a..80cb554 100644 --- a/xevents.c +++ b/xevents.c @@ -150,7 +150,11 @@ xev_handle_configurerequest(XEvent *ee) if (e->value_mask & CWY) cc->geom.y = e->y; if (e->value_mask & CWBorderWidth) - wc.border_width = e->border_width; + cc->bwidth = e->border_width; + if (e->value_mask & CWSibling) + wc.sibling = e->above; + if (e->value_mask & CWStackMode) + wc.stack_mode = e->detail; if (cc->geom.x == 0 && cc->geom.w >= sc->view.w) cc->geom.x -= cc->bwidth; |