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 | 0982e47408115de4a604d9365b1014ae6205b3a9 (diff) | |
download | dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.gz |
applied sanders max size fix
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/view.c b/view.c index daf0711..facbb4c 100644 --- a/view.c +++ b/view.c @@ -44,6 +44,10 @@ reorder(void) { static void togglemax(Client *c) { XEvent ev; + + if (x->maxw && x->minw && x->maxh && x->minh && + x->maxw == x->minw && x->maxh == x->minh) + return; if((c->ismax = !c->ismax)) { c->rx = c->x; c->x = sx; |