fix: window order on first display was wrong

This commit is contained in:
lwouis committed 2025-01-06 23:29:15 +01:00
1 parent 684cc666d3
commit db5644e058
1 file changed
+1 -1
+1 -1
View File
@@ -230,7 +230,7 @@ class App: AppCenterApplication {
App.app.appIsBeingUsed = true
if isFirstSummon || shortcutIndex != self.shortcutIndex {
if isVeryFirstSummon {
DispatchQueue.main.async { () -> () in Windows.sortByLevel() }
Windows.sortByLevel()
isVeryFirstSummon = false
}
isFirstSummon = false