From 92105e7862822f5c884367c4cb62c0464ee8e636 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 22 Feb 2007 08:08:36 +0100 Subject: fixed exit condition in togglemax() --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.c b/layout.c index 6a65599e..02ef559d 100644 --- a/layout.c +++ b/layout.c @@ -195,7 +195,7 @@ void togglemax(Arg arg) { XEvent ev; - if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile) + if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed) return; if((sel->ismax = !sel->ismax)) { sel->rx = sel->x; -- cgit v1.2.3