diff options
| author | Mewlkor <gruss221@gmail.com> | 2025-07-26 21:03:52 +0200 |
|---|---|---|
| committer | Mewlkor <gruss221@gmail.com> | 2025-07-26 21:03:52 +0200 |
| commit | e6d61ca717edce83aaefaceca9e76e30677e88ee (patch) | |
| tree | b1a52a8bcbd55b2836777a08f34b8b5b29e3b02e /config/quickshell/modules/overview/OverviewWidget.qml | |
| parent | 0ef4312445c4f7169b21802d18e939192eca358e (diff) | |
fix: fix qs overview window alignment
Diffstat (limited to 'config/quickshell/modules/overview/OverviewWidget.qml')
| -rw-r--r-- | config/quickshell/modules/overview/OverviewWidget.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/quickshell/modules/overview/OverviewWidget.qml b/config/quickshell/modules/overview/OverviewWidget.qml index 2ea8d58a..22cf929e 100644 --- a/config/quickshell/modules/overview/OverviewWidget.qml +++ b/config/quickshell/modules/overview/OverviewWidget.qml @@ -258,8 +258,8 @@ Item { repeat: false running: false onTriggered: { - window.x = Math.max((windowData?.at[0] - monitorData?.reserved[0]) * root.scale, 0) + xOffset - window.y = Math.max((windowData?.at[1] - monitorData?.reserved[1]) * root.scale, 0) + yOffset + window.x = Math.max((windowData?.at[0] - monitorData?.reserved[0] - monitorData?.x) * root.scale, 0) + xOffset + window.y = Math.max((windowData?.at[1] - monitorData?.reserved[1] - monitorData?.y) * root.scale, 0) + yOffset } } |
