diff -r 06d46acfe156 -r 6a5c4371eb25 dwm.c --- a/dwm.c Thu Jun 19 12:28:56 2008 +0100 +++ b/dwm.c Thu Jun 19 14:01:40 2008 +0100 @@ -426,8 +426,7 @@ c->x = sx + (sw / 2 - c->w / 2); /* center in x direction */ if((c->y - sy + c->h) > sh && c->isfloating) c->y = sy + (sh / 2 - c->h / 2); /* center in y direction */ - if((ev->value_mask & (CWX|CWY)) - && !(ev->value_mask & (CWWidth|CWHeight))) + if((ev->value_mask & (CWX|CWY)) && !(ev->value_mask & (CWWidth|CWHeight))) configure(c); if(!c->isbanned) XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); @@ -1116,7 +1115,7 @@ h = bh; if(w < bh) w = bh; - if(c->x != x || c->y != y || c->w != w || c->h != h) { + if(!c->isbanned || c->x != x || c->y != y || c->w != w || c->h != h) { c->x = wc.x = x; c->y = wc.y = y; c->w = wc.width = w;