|
|
@ -174,6 +174,8 @@ configurerequest(XEvent *e) {
|
|
|
|
|
|
|
|
|
|
|
|
if((c = getclient(ev->window))) {
|
|
|
|
if((c = getclient(ev->window))) {
|
|
|
|
c->ismax = False;
|
|
|
|
c->ismax = False;
|
|
|
|
|
|
|
|
if(ev->value_mask & CWBorderWidth)
|
|
|
|
|
|
|
|
c->border = ev->border_width;
|
|
|
|
if(c->isfixed || c->isfloating || (lt->arrange == floating)) {
|
|
|
|
if(c->isfixed || c->isfloating || (lt->arrange == floating)) {
|
|
|
|
if(ev->value_mask & CWX)
|
|
|
|
if(ev->value_mask & CWX)
|
|
|
|
c->x = ev->x;
|
|
|
|
c->x = ev->x;
|
|
|
@ -190,11 +192,9 @@ configurerequest(XEvent *e) {
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
|
|
|
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
if(ev->value_mask & CWBorderWidth)
|
|
|
|
|
|
|
|
c->border = ev->border_width;
|
|
|
|
|
|
|
|
configure(c);
|
|
|
|
configure(c);
|
|
|
|
c->border = BORDERPX;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
c->border = BORDERPX;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
wc.x = ev->x;
|
|
|
|
wc.x = ev->x;
|
|
|
|