summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-05-29 18:42:53 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-05-29 18:42:53 +0100
commit75690c808dbf31d459d6e53ecc4c8b1542ed39fe (patch)
tree9fa416e09af81c8f8f1ad7088f810422b4548bf8
parentapplied yiyus tip patch from tue (diff)
downloaddwm-75690c808dbf31d459d6e53ecc4c8b1542ed39fe.tar.gz
dwm-75690c808dbf31d459d6e53ecc4c8b1542ed39fe.zip
applied nibbles fixes, slightly modified
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 9746c1d..2851929 100644
--- a/dwm.c
+++ b/dwm.c
@@ -267,7 +267,7 @@ arrange(void) {
267 XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw); 267 XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw);
268 c->ismoved = True; 268 c->ismoved = True;
269 } 269 }
270 else if(!lt->arrange || c->isfloating) 270 else if(!lt->arrange || ismax || c->isfloating)
271 resize(c, c->x, c->y, c->w, c->h, True); 271 resize(c, c->x, c->y, c->w, c->h, True);
272 c->isbanned = False; 272 c->isbanned = False;
273 } 273 }
@@ -1719,7 +1719,7 @@ void
1719zoom(const void *arg) { 1719zoom(const void *arg) {
1720 Client *c = sel; 1720 Client *c = sel;
1721 1721
1722 if(!lt->arrange || sel->isfloating) 1722 if(ismax || !lt->arrange || (sel && sel->isfloating))
1723 return; 1723 return;
1724 if(c == nexttiled(clients)) 1724 if(c == nexttiled(clients))
1725 if(!c || !(c = nexttiled(c->next))) 1725 if(!c || !(c = nexttiled(c->next)))