From 0a1fe85b05749c9d1bb23142f4f9874ec716426b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 19 Jul 2021 12:01:10 +0200 Subject: Include shaded windows when switching between windows --- src/taskbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3