From 445f6c2ee0a9a21d4de94dff621279887caa25a4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Mar 2026 09:02:49 +0100 Subject: ... --- accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml') diff --git a/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml b/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml index dcc23279..ac1cbf3a 100644 --- a/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml +++ b/accounts/gkleen@sif/shell/quickshell/ActiveWindowDisplay.qml @@ -11,7 +11,7 @@ Item { property var activeWindow: { let currWindowId = Array.from(NiriService.workspaces).find(ws => { - return ws.output === screen.name && ws.is_active; + return ws.output === screen?.name && ws.is_active; })?.active_window_id; return currWindowId ? Array.from(NiriService.windows).find(win => win.id == currWindowId) : null; -- cgit v1.2.3