summary refs log tree commit diff
diff options
context:
space:
mode:
-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? */