summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-02-22 08:08:36 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-02-22 08:08:36 +0100
commit92105e7862822f5c884367c4cb62c0464ee8e636 (patch)
tree507d3e3435ae65cac55ad25de9dd2f15cc181cc6
parent6ee9f1345760f320dd76c713754ba2a70669bedd (diff)
downloaddwm-92105e7862822f5c884367c4cb62c0464ee8e636.tar.gz
fixed exit condition in togglemax()
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index 6a65599..02ef559 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;