summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);