diff options
| -rw-r--r-- | desktop/Drawer.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/Drawer.qml b/desktop/Drawer.qml index 79a5393..3a862ba 100644 --- a/desktop/Drawer.qml +++ b/desktop/Drawer.qml @@ -44,6 +44,11 @@ Scope { onOpenChanged: drawerFlag.setText(root.open ? "1\n" : "0\n") + // onOpenChanged does not fire for the initial value, so a restart while + // the drawer was open would leave the flag stale and suppress every + // balloon. Publish the starting state explicitly. + Component.onCompleted: drawerFlag.setText(root.open ? "1\n" : "0\n") + readonly property var screenObj: Quickshell.screens.find(s => s.name === root.monitor) ?? Quickshell.screens[0] |
