diff options
author | okan | 2008-06-30 17:52:37 +0000 |
---|---|---|
committer | okan | 2008-06-30 17:52:37 +0000 |
commit | dc3045573c35f2ee31dc1c012da1ff4408b6f264 (patch) | |
tree | 1da7d76f7cfb5b739c2024d2c2649c2b3c8de299 | |
parent | 1671eb8f4f1ca145fbdde6054bb0bcf0b23c4fbe (diff) | |
download | cwm-dc3045573c35f2ee31dc1c012da1ff4408b6f264.tar.gz |
only cycle through visible *and* non-ignored windows.
ok oga@
Diffstat (limited to '')
-rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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? */ |