JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied sanders try2 patch
[dwm.git] / view.c
diff --git a/view.c b/view.c
index facbb4c..85bfabf 100644 (file)
--- a/view.c
+++ b/view.c
@@ -45,8 +45,7 @@ static void
 togglemax(Client *c) {
        XEvent ev;
                
-       if (x->maxw && x->minw && x->maxh && x->minh &&
-                       x->maxw == x->minw && x->maxh == x->minh)
+       if(c->isfixed)
                return;
 
        if((c->ismax = !c->ismax)) {