fix: follow-up on pr-104; minimized windows are not on another space

This commit is contained in:
louis.pontoise authored and lwouis committed 2020-01-03 21:40:06 +09:00
1 parent 51a193c1d4
commit 998c76334e
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ class TrackedWindows {
private class func isSingleSpace() {
let firstSpaceIndex = list[0].spaceIndex
for window in list {
if window.spaceIndex != firstSpaceIndex {
if window.spaceIndex != nil && window.spaceIndex != firstSpaceIndex {
Spaces.singleSpace = false
return
}