# HG changeset patch # User Anselm R Garbe # Date 1212082973 -3600 # Node ID 2488c46e002c66fc4ad5e7b423ecbad471d48ebe # Parent c8bd07e7d006dd99e0f8227e6d31fa93dc4c5231 applied nibbles fixes, slightly modified diff -r c8bd07e7d006 -r 2488c46e002c dwm.c --- a/dwm.c Thu May 29 18:22:51 2008 +0100 +++ b/dwm.c Thu May 29 18:42:53 2008 +0100 @@ -267,7 +267,7 @@ XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw); c->ismoved = True; } - else if(!lt->arrange || c->isfloating) + else if(!lt->arrange || ismax || c->isfloating) resize(c, c->x, c->y, c->w, c->h, True); c->isbanned = False; } @@ -1719,7 +1719,7 @@ zoom(const void *arg) { Client *c = sel; - if(!lt->arrange || sel->isfloating) + if(ismax || !lt->arrange || (sel && sel->isfloating)) return; if(c == nexttiled(clients)) if(!c || !(c = nexttiled(c->next)))