changeset: 815:aca93bbd6e8d
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Thu Feb 22 08:08:36 2007 +0100
summary: fixed exit condition in togglemax()
diff -r 6fa419036c2e -r aca93bbd6e8d layout.c
--- a/layout.c Thu Feb 22 08:02:04 2007 +0100
+++ b/layout.c Thu Feb 22 08:08:36 2007 +0100
@@ -195,7 +195,7 @@ togglemax(Arg arg) {
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;
Received on Thu Feb 22 2007 - 08:09:46 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:55:41 UTC