aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2008-06-30 17:52:37 +0000
committerokan2008-06-30 17:52:37 +0000
commitdc3045573c35f2ee31dc1c012da1ff4408b6f264 (patch)
tree1da7d76f7cfb5b739c2024d2c2649c2b3c8de299 /client.c
parent1671eb8f4f1ca145fbdde6054bb0bcf0b23c4fbe (diff)
downloadcwm-dc3045573c35f2ee31dc1c012da1ff4408b6f264.tar.gz
only cycle through visible *and* non-ignored windows.
ok oga@
Diffstat (limited to '')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
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? */