diff options
author | Wolfgang Müller | 2021-04-27 11:06:53 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-04-27 12:28:35 +0200 |
commit | 37d5340b0fc3948d8f676ff8774a48936e8be087 (patch) | |
tree | 6c52423e4a341cf104648529514b1c08eaec75d3 | |
parent | 47703bbeafea2d689a33fce27e46b0e05c6bcd4e (diff) | |
download | cwm-37d5340b0fc3948d8f676ff8774a48936e8be087.tar.gz |
Do not include ignored clients in the window menu
Nowadays, most ignored clients will be bars or other "decorative"
elements. We do not see the use of jumping to those using the window
menu. They also tend to clutter up the menu, so let's ignore them there.
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -526,6 +526,8 @@ kbfunc_menu_client(void *ctx, struct cargs *cargs) TAILQ_INIT(&menuq); TAILQ_FOREACH(cc, &sc->clientq, entry) { + if (cc->flags & CLIENT_IGNORE) + continue; if ((cargs->flag & CWM_MENU_WINDOW_ALL) || (cc->flags & CLIENT_HIDDEN)) menuq_add(&menuq, cc, NULL); |