applied nibbles fixes, slightly modified
Anselm R Garbe garbeam@gmail.com
Thu, 29 May 2008 18:42:53 +0100
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -267,7 +267,7 @@ if(ismax && !c->isfixed) {
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 @@ void
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)))