fix: alt-tab preferences panel was sometimes not listed
This commit is contained in:
1 parent
ce1be11995
commit
e25716b38d
1 file changed
+3
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user