applied nibbles fixes, slightly modified
75690c80
1 file(s) · +2 −2
| 267 | 267 | XMoveResizeWindow(dpy, c->win, wx, wy, ww - 2 * c->bw, wh - 2 * c->bw); |
|
| 268 | 268 | c->ismoved = True; |
|
| 269 | 269 | } |
|
| 270 | - | else if(!lt->arrange || c->isfloating) |
|
| 270 | + | else if(!lt->arrange || ismax || c->isfloating) |
|
| 271 | 271 | resize(c, c->x, c->y, c->w, c->h, True); |
|
| 272 | 272 | c->isbanned = False; |
|
| 273 | 273 | } |
|
| 1719 | 1719 | zoom(const void *arg) { |
|
| 1720 | 1720 | Client *c = sel; |
|
| 1721 | 1721 | ||
| 1722 | - | if(!lt->arrange || sel->isfloating) |
|
| 1722 | + | if(ismax || !lt->arrange || (sel && sel->isfloating)) |
|
| 1723 | 1723 | return; |
|
| 1724 | 1724 | if(c == nexttiled(clients)) |
|
| 1725 | 1725 | if(!c || !(c = nexttiled(c->next))) |
|