diff options
| author | arg@mig29 <unknown> | 2006-10-27 12:05:47 +0200 |
|---|---|---|
| committer | arg@mig29 <unknown> | 2006-10-27 12:05:47 +0200 |
| commit | 2b13e7466f4912e3778bf59e6aec3065443f08fe (patch) | |
| tree | 2595de166d7113d6b0cf6c96139f7ae25fb38b39 /view.c | |
| parent | stupid urxvt needs bg to highlight selections in a sane way, though that make... (diff) | |
| download | dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.gz dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.zip | |
applied sanders max size fix
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; |
