diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-19 12:01:10 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-19 12:01:10 +0200 |
commit | 0a1fe85b05749c9d1bb23142f4f9874ec716426b (patch) | |
tree | 14a2bcfef71e562d3de7a550a0b044c7c69cb3ab | |
parent | e96f9f3869c6ea5803f5759bf1737547a46be22f (diff) | |
download | jwm-0a1fe85b05749c9d1bb23142f4f9874ec716426b.tar.gz |
Include shaded windows when switching between windows
-rw-r--r-- | src/taskbar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/taskbar.c b/src/taskbar.c index 7975d3b..4cee2ab 100644 --- a/src/taskbar.c +++ b/src/taskbar.c @@ -931,7 +931,8 @@ ShouldFocusItem(const ClientNode *np) return 0; } - if(!(np->state.status & STAT_MAPPED)) { + if(!(np->state.status & STAT_MAPPED) + && !(np->state.status & STAT_SHADED)) { return 0; } |