diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 12:09:16 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 12:09:16 +0200 |
| commit | 0aa0328a0fa3e80768efd7f76f713fe30e5ca8b2 (patch) | |
| tree | c8ae43ef3a4d8bdd246be08da709723e974baadd /desktop/shell.qml | |
| parent | d2b98989b298f082c76d3c7925419ee6b95b3c71 (diff) | |
| download | quickshell-0aa0328a0fa3e80768efd7f76f713fe30e5ca8b2.tar.gz quickshell-0aa0328a0fa3e80768efd7f76f713fe30e5ca8b2.zip | |
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.
Diffstat (limited to 'desktop/shell.qml')
| -rw-r--r-- | desktop/shell.qml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
