From c2ee9a52bdd7de2c37cbb7980824525e6a70af56 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 27 May 2025 09:42:06 +0800 Subject: drawers: fix interactions for multimonitor Or monitors that arent positioned at 0,0 *cough* outfoxxed --- modules/drawers/Interactions.qml | 4 ++-- 1 file 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); -- cgit v1.2.3-freya