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 | |
parent | 0982e47408115de4a604d9365b1014ae6205b3a9 (diff) | |
download | dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.gz dwm-2b13e7466f4912e3778bf59e6aec3065443f08fe.tar.bz2 |
applied sanders max size fix
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | view.c | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -233,7 +233,7 @@ manage(Window w, XWindowAttributes *wa) { settags(c, getclient(trans)); if(!c->isfloat) c->isfloat = trans - || (c->maxw && c->minw && + || (c->maxw && c->minw && c->maxh && c->minh && c->maxw == c->minw && c->maxh == c->minh); resizetitle(c); if(clients) @@ -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; |