mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
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.
This commit is contained in:
parent
09f3275561
commit
b365ceac0e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user