diff options
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | |||
| 1719 | zoom(const void *arg) { | 1719 | zoom(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))) |
