mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-01 18:15:41 +00:00
IPC: Fix IPC calls when there is only one screen.
This commit is contained in:
@@ -329,7 +329,7 @@ Item {
|
||||
|
||||
// Single monitor setup can execute immediately
|
||||
if (Quickshell.screens.length === 1) {
|
||||
pendingCallback(Quickshell.screens[0])
|
||||
callback(Quickshell.screens[0])
|
||||
} else {
|
||||
// Multi-monitors setup needs to start async detection
|
||||
detectedScreen = null
|
||||
|
||||
Reference in New Issue
Block a user