diff options
Diffstat (limited to '')
| -rw-r--r-- | view.c | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -44,6 +44,10 @@ reorder(void) { | |||
| 44 | static void | 44 | static void |
| 45 | togglemax(Client *c) { | 45 | togglemax(Client *c) { |
| 46 | XEvent ev; | 46 | XEvent ev; |
| 47 | |||
| 48 | if (x->maxw && x->minw && x->maxh && x->minh && | ||
| 49 | x->maxw == x->minw && x->maxh == x->minh) | ||
| 50 | return; | ||
| 47 | 51 | ||
| 48 | if((c->ismax = !c->ismax)) { | 52 | if((c->ismax = !c->ismax)) { |
| 49 | c->rx = c->x; c->x = sx; | 53 | c->rx = c->x; c->x = sx; |
