applied sanders max size fix

This commit is contained in:
arg@mig29 committed 2006-10-27 12:05:47 +02:00
1 parent 0982e47408
commit 2b13e7466f
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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;