about summary refs log tree commit diff stats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/view.c b/view.c
index facbb4c..85bfabf 100644
--- 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)) {