Skip to content

Commit

Permalink
fix: alt-tab preferences panel was sometimes not listed
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed Jul 17, 2020
1 parent ce1be11 commit e25716b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/logic/Window.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit e25716b

Please sign in to comment.