aboutsummarylogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnselm R. Garbe2007-02-22 08:08:36 +0100
committerAnselm R. Garbe2007-02-22 08:08:36 +0100
commita364633991be9481b0c1a2f297d3794ae8464d32 (patch)
treea5acfb4e8458bbff8910a0bf48d1435596db2e7d /layout.c
parentacaafb2c82c83c55d5d97b27f534fe04675a175b (diff)
downloadaur-a364633991be9481b0c1a2f297d3794ae8464d32.tar.gz
fixed exit condition in togglemax()
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index 6a65599e020e..02ef559dbab2 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;