From 0aa0328a0fa3e80768efd7f76f713fe30e5ca8b2 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 12:09:16 +0200 Subject: refactor(desktop): name the keepalive window IdleInhibitor needs a non-null window and this is the only one that lives for the whole session, so presentation mode attaches to it. Naming it is a prerequisite for that and changes nothing else. --- desktop/shell.qml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'desktop') diff --git a/desktop/shell.qml b/desktop/shell.qml index 6a37827..2888e36 100644 --- a/desktop/shell.qml +++ b/desktop/shell.qml @@ -23,7 +23,12 @@ import "modules/vm" ShellRoot { // Quickshell exits once no window is visible, and the drawer is closed // most of the time. See AGENTS.md. + // + // It is also the window the idle inhibitor attaches to: IdleInhibitor + // needs a non-null window, and this is the one window that exists for + // the whole life of the shell. PanelWindow { + id: keepalive visible: true implicitWidth: 1 implicitHeight: 1 -- cgit v1.2.3