aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}