about summary refs log tree commit diff stats
path: root/dwm.c
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 /dwm.c
parentfde58d5e637d700981eaed69d172d3dbfcaee215 (diff)
downloaddwm-75690c808dbf31d459d6e53ecc4c8b1542ed39fe.tar.gz
applied nibbles fixes, slightly modified
Diffstat (limited to 'dwm.c')
-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) {
 				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)))