fix: rare crash if shortcut is pressed early during launch
This commit is contained in:
1 parent
bb8a5ceaa9
commit
265c7a6c34
1 file changed
+1
-1
+1
-1
@@ -45,8 +45,8 @@ class App: NSApplication, NSApplicationDelegate {
|
||||
thumbnailsPanel = ThumbnailsPanel()
|
||||
Spaces.initialDiscovery()
|
||||
Applications.initialDiscovery()
|
||||
KeyboardEvents.observe()
|
||||
loadPreferencesWindow()
|
||||
KeyboardEvents.observe()
|
||||
// TODO: undeterministic; events in the queue may still be processing; good enough for now
|
||||
DispatchQueue.main.async { () -> () in Windows.sortByLevel() }
|
||||
preloadWindows()
|
||||
|
||||
Reference in new issue
Block a user