fix: rare crash when the ui was kept open during space transition

This commit is contained in:
Louis Pontoise
2021-04-01 01:06:41 +09:00
parent 4ee7d22dc0
commit e86990065d
+2 -1
View File
@@ -226,7 +226,8 @@ class App: AppCenterApplication, NSApplicationDelegate {
let stepWithClosestWindow = Windows.windowIndexAfterCycling(-1) > Windows.focusedWindowIndex ? 1 : -1
Windows.cycleFocusedWindowIndex(stepWithClosestWindow)
} else {
Windows.updatesWindowSpace(window)
Spaces.refreshAllIdsAndIndexes()
window.updatesWindowSpace()
}
}
}