summaryrefslogtreecommitdiff
path: root/modules/drawers/Interactions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/drawers/Interactions.qml')
-rw-r--r--modules/drawers/Interactions.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml
new file mode 100644
index 0000000..5006a96
--- /dev/null
+++ b/modules/drawers/Interactions.qml
@@ -0,0 +1,11 @@
+import "root:/services"
+import Quickshell
+import QtQuick
+
+MouseArea {
+ required property ShellScreen screen
+
+ anchors.fill: parent
+ hoverEnabled: true
+ onPositionChanged: event => Drawers.setPosForScreen(screen, event.x, event.y)
+}