summaryrefslogtreecommitdiff
path: root/modules/drawers/Interactions.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-07 16:38:10 +1000
committerGitHub <noreply@github.com>2025-06-07 16:38:10 +1000
commit5dfb3c43edffb9348aa1e3c5ccdfcf51f0dc4346 (patch)
treeebbd42d1ba820a42063c49ecf598666d5833bb15 /modules/drawers/Interactions.qml
parentpopouts: fix anim when not shown (diff)
parentpopouts: fix multimonitor (diff)
downloadcaelestia-shell-5dfb3c43edffb9348aa1e3c5ccdfcf51f0dc4346.tar.gz
caelestia-shell-5dfb3c43edffb9348aa1e3c5ccdfcf51f0dc4346.tar.bz2
caelestia-shell-5dfb3c43edffb9348aa1e3c5ccdfcf51f0dc4346.zip
Merge pull request #2 from outfoxxed/popouts-multimon
popouts: fix multimonitor
Diffstat (limited to 'modules/drawers/Interactions.qml')
-rw-r--r--modules/drawers/Interactions.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml
index e66c24d..3ec522b 100644
--- a/modules/drawers/Interactions.qml
+++ b/modules/drawers/Interactions.qml
@@ -1,5 +1,6 @@
import "root:/services"
import "root:/config"
+import "root:/modules/bar/popouts" as BarPopouts
import "root:/modules/osd" as Osd
import Quickshell
import QtQuick
@@ -8,6 +9,7 @@ MouseArea {
id: root
required property ShellScreen screen
+ required property BarPopouts.Wrapper popouts
required property PersistentProperties visibilities
required property Panels panels
required property Item bar
@@ -38,7 +40,7 @@ MouseArea {
visibilities.osd = false;
osdHovered = false;
visibilities.dashboard = false;
- Popouts.hasCurrent = false;
+ popouts.hasCurrent = false;
}
}
@@ -68,9 +70,9 @@ MouseArea {
bar.checkPopout(y);
else
// Keep on hover
- Popouts.hasCurrent = withinPanelHeight(popout, x, y);
+ popouts.hasCurrent = withinPanelHeight(popout, x, y);
} else
- Popouts.hasCurrent = false;
+ popouts.hasCurrent = false;
}
Osd.Interactions {