aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-19 12:01:10 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-19 12:01:10 +0200
commit0a1fe85b05749c9d1bb23142f4f9874ec716426b (patch)
tree14a2bcfef71e562d3de7a550a0b044c7c69cb3ab
parente96f9f3869c6ea5803f5759bf1737547a46be22f (diff)
downloadjwm-0a1fe85b05749c9d1bb23142f4f9874ec716426b.tar.gz
Include shaded windows when switching between windows
-rw-r--r--src/taskbar.c3
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;
}