summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)))