diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-03-15 22:36:40 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2026-03-15 22:36:40 +1100 |
| commit | 377778596acf90451d1bd19f0c03b5f1c0467958 (patch) | |
| tree | a035c6e7cf4e0d22ad93451aa3479548e62c88cc /modules/bar/components/ActiveWindow.qml | |
| parent | bar/activewindow: toggle when not show on hover (diff) | |
| download | caelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.tar.gz caelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.tar.bz2 caelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.zip | |
fix: close other popouts when hover activewindow
Diffstat (limited to 'modules/bar/components/ActiveWindow.qml')
| -rw-r--r-- | modules/bar/components/ActiveWindow.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/bar/components/ActiveWindow.qml b/modules/bar/components/ActiveWindow.qml index 62bab0f..414c9c5 100644 --- a/modules/bar/components/ActiveWindow.qml +++ b/modules/bar/components/ActiveWindow.qml @@ -44,6 +44,12 @@ Item { sourceComponent: MouseArea { cursorShape: Qt.PointingHandCursor + hoverEnabled: true + onPositionChanged: { + const popouts = root.bar.popouts; + if (popouts.hasCurrent && popouts.currentName !== "activewindow") + popouts.hasCurrent = false; + } onClicked: { const popouts = root.bar.popouts; if (popouts.hasCurrent) { |