summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-27 09:42:06 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-27 09:42:06 +0800
commitc2ee9a52bdd7de2c37cbb7980824525e6a70af56 (patch)
treed0a1b9a57b0f867c602e8697f04fb2b05f79f074
parentlauncher: better fuzzy search (diff)
downloadcaelestia-shell-c2ee9a52bdd7de2c37cbb7980824525e6a70af56.tar.gz
caelestia-shell-c2ee9a52bdd7de2c37cbb7980824525e6a70af56.tar.bz2
caelestia-shell-c2ee9a52bdd7de2c37cbb7980824525e6a70af56.zip
drawers: fix interactions for multimonitor
Or monitors that arent positioned at 0,0 *cough* outfoxxed
-rw-r--r--modules/drawers/Interactions.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml
index b155449..e82f015 100644
--- a/modules/drawers/Interactions.qml
+++ b/modules/drawers/Interactions.qml
@@ -40,8 +40,8 @@ MouseArea {
x,
y
} = Hyprland.cursorPos;
- x -= QsWindow.window.margins.left;
- y -= QsWindow.window.margins.top;
+ x -= QsWindow.window.margins.left + Hyprland.focusedMonitor.x;
+ y -= QsWindow.window.margins.top + Hyprland.focusedMonitor.y;
// Show osd on hover
const showOsd = root.inRightPanel(panels.osd, x, y);