aboutsummaryrefslogtreecommitdiffstats
path: root/volume-osd/VolumeOsd.qml
diff options
context:
space:
mode:
Diffstat (limited to 'volume-osd/VolumeOsd.qml')
-rw-r--r--volume-osd/VolumeOsd.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/volume-osd/VolumeOsd.qml b/volume-osd/VolumeOsd.qml
index ab7eb62..f739aec 100644
--- a/volume-osd/VolumeOsd.qml
+++ b/volume-osd/VolumeOsd.qml
@@ -81,6 +81,19 @@ Scope {
onTriggered: root.active = null
}
+ // Quickshell exits once no window is visible, and the OSD is hidden most
+ // of the time, so a 1x1 transparent window holds the process open. Its
+ // empty mask makes it click-through, so it cannot catch a stray click.
+ PanelWindow {
+ visible: true
+ implicitWidth: 1
+ implicitHeight: 1
+ color: "transparent"
+ exclusionMode: ExclusionMode.Ignore
+ mask: Region {}
+ WlrLayershell.keyboardFocus: WlrKeyboardFocus.None
+ }
+
PanelWindow {
id: win