fix: dock being shown was blocking alt-tab
This commit is contained in:
1 parent
4ded030a35
commit
2826a1b872
1 file changed
+1
-1
@@ -11,7 +11,7 @@ extension CGWindow {
|
||||
static func isMissionControlActive() -> Bool {
|
||||
// when Mission Control is active, the Dock process spawns some windows. We observe this side-effect and infer
|
||||
for window in windows(.optionOnScreenOnly) {
|
||||
guard window.ownerName() == "Dock" else { continue }
|
||||
guard window.ownerName() == "Dock", window.title() == nil else { continue }
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user