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:
okan 2013-06-10 20:11:43 +00:00
parent 09f3275561
commit b365ceac0e

View File

@ -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;