Reported-by: Josip Deanovic <[email protected]>
Signed-off-by: Amadeusz Sławiński <[email protected]>
---
src/switchpanel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/switchpanel.c b/src/switchpanel.c
index e7bee40..041e167 100644
--- a/src/switchpanel.c
+++ b/src/switchpanel.c
@@ -373,7 +373,7 @@ static WMArray *makeWindowListArray(WWindow *curwin, int
include_unmapped, Bool
for (fl = 0; fl < 2; fl++) {
for (wwin = curwin; wwin; wwin = wwin->prev) {
if (((!fl && canReceiveFocus(wwin) > 0) || (fl &&
canReceiveFocus(wwin) < 0)) &&
- (wwin->flags.mapped || include_unmapped)) {
+ (wwin->flags.mapped || wwin->flags.shaded ||
include_unmapped)) {
if (class_only)
if (!sameWindowClass(wwin, curwin))
continue;
@@ -389,7 +389,7 @@ static WMArray *makeWindowListArray(WWindow *curwin, int
include_unmapped, Bool
for (wwin = curwin; wwin && wwin != curwin; wwin = wwin->prev) {
if (((!fl && canReceiveFocus(wwin) > 0) || (fl &&
canReceiveFocus(wwin) < 0)) &&
- (wwin->flags.mapped || include_unmapped)) {
+ (wwin->flags.mapped || wwin->flags.shaded ||
include_unmapped)) {
if (class_only)
if (!sameWindowClass(wwin, curwin))
continue;
--
1.9.3
--
To unsubscribe, send mail to [email protected].