diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-27 09:42:06 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-27 09:42:06 +0800 |
| commit | c2ee9a52bdd7de2c37cbb7980824525e6a70af56 (patch) | |
| tree | d0a1b9a57b0f867c602e8697f04fb2b05f79f074 /modules/drawers/Interactions.qml | |
| parent | launcher: better fuzzy search (diff) | |
| download | caelestia-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
Diffstat (limited to 'modules/drawers/Interactions.qml')
| -rw-r--r-- | modules/drawers/Interactions.qml | 4 |
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); |