simplified configurerequest to a bare minimum, removed wrong ban() calls
Anselm R. Garbe arg@suckless.org
Mon, 19 Feb 2007 11:34:12 +0100
M
event.c
→
event.c
@@ -184,16 +184,9 @@ if(ev->value_mask & CWHeight)
c->h = ev->height; if((ev->value_mask & (CWX | CWY)) && !(ev->value_mask & (CWWidth | CWHeight))) - { configure(c); - if(isvisible(c)) - XMoveWindow(dpy, c->win, c->x, c->y); - } - else { + if(isvisible(c)) XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); - if(!isvisible(c)) - ban(c); - } } else configure(c);