From 734f45ab4bdaf25835e90a56a1803de23ff49975 Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 30 Jun 2008 17:52:37 +0000 Subject: only cycle through visible *and* non-ignored windows. ok oga@ --- client.c | 4 ++-- 1 file 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? */ -- cgit 1.4.1