summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2008-06-30 17:52:37 +0000
committerokan <okan>2008-06-30 17:52:37 +0000
commit734f45ab4bdaf25835e90a56a1803de23ff49975 (patch)
tree7c2dda7a1827c01284ebaca62bbc5bdaff1f5a38
parent993fd4311f8514a93138e3f0547e13075db971c5 (diff)
downloadcwm-734f45ab4bdaf25835e90a56a1803de23ff49975.tar.gz
cwm-734f45ab4bdaf25835e90a56a1803de23ff49975.tar.xz
cwm-734f45ab4bdaf25835e90a56a1803de23ff49975.zip
only cycle through visible *and* non-ignored windows.
ok oga@
-rw-r--r--client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c
index 957f16d..92a46ca 100644
--- a/client.c
+++ b/client.c
@@ -605,8 +605,8 @@ client_cycle(int reverse)
 		newcc = (reverse ? client_mruprev(newcc) :
 		    client_mrunext(newcc));
 
-		/* Only cycle visible windows. */
-		if (newcc->flags & CLIENT_HIDDEN)
+		/* Only cycle visible and non-ignored windows. */
+		if (newcc->flags & (CLIENT_HIDDEN|CLIENT_IGNORE))
 			again = 1;
 
 		/* Is oldcc the only non-hidden window? */