From dc3045573c35f2ee31dc1c012da1ff4408b6f264 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 317091c..fdc81e6 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.32 2008/06/25 22:37:29 oga Exp $ + * $Id: client.c,v 1.33 2008/06/30 17:52:37 okan Exp $ */ #include "headers.h" @@ -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 v1.2.3-2-gb3c3