From e25716b38d701f3cb99dc4f7fae0a73462dec704 Mon Sep 17 00:00:00 2001 From: Louis Pontoise Date: Fri, 17 Jul 2020 18:52:11 +0900 Subject: [PATCH] fix: alt-tab preferences panel was sometimes not listed --- src/logic/Window.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/logic/Window.swift b/src/logic/Window.swift index 6860e69d..187d5287 100644 --- a/src/logic/Window.swift +++ b/src/logic/Window.swift @@ -74,7 +74,9 @@ class Window { } // we can only detect tabs for windows on the current space, as AXUIElement.windows() only reports current space windows // also, windows that start in fullscreen will have the wrong spaceID at that point in time, so we check if they are fullscreen too - else if spaceId == Spaces.currentSpaceId { + else if spaceId == Spaces.currentSpaceId && + // quirk with AltTab listing no windows at first; we force it to false + application.runningApplication.bundleIdentifier != App.id { isTabbed = true } }