summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-03-15 22:36:40 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2026-03-15 22:36:40 +1100
commit377778596acf90451d1bd19f0c03b5f1c0467958 (patch)
treea035c6e7cf4e0d22ad93451aa3479548e62c88cc
parentbar/activewindow: toggle when not show on hover (diff)
downloadcaelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.tar.gz
caelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.tar.bz2
caelestia-shell-377778596acf90451d1bd19f0c03b5f1c0467958.zip
fix: close other popouts when hover activewindow
-rw-r--r--modules/bar/components/ActiveWindow.qml6
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) {