From e6d61ca717edce83aaefaceca9e76e30677e88ee Mon Sep 17 00:00:00 2001 From: Mewlkor Date: Sat, 26 Jul 2025 21:03:52 +0200 Subject: fix: fix qs overview window alignment --- config/quickshell/modules/overview/OverviewWindow.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/quickshell/modules/overview/OverviewWindow.qml') diff --git a/config/quickshell/modules/overview/OverviewWindow.qml b/config/quickshell/modules/overview/OverviewWindow.qml index 449a98c4..93ea06f9 100644 --- a/config/quickshell/modules/overview/OverviewWindow.qml +++ b/config/quickshell/modules/overview/OverviewWindow.qml @@ -18,8 +18,8 @@ Rectangle { // Window property var availableWorkspaceWidth property var availableWorkspaceHeight property bool restrictToWorkspace: true - property real initX: Math.max((windowData?.at[0] - monitorData?.reserved[0]) * root.scale, 0) + xOffset - property real initY: Math.max((windowData?.at[1] - monitorData?.reserved[1]) * root.scale, 0) + yOffset + property real initX: Math.max((windowData?.at[0] - monitorData?.reserved[0] - monitorData?.x) * root.scale, 0) + xOffset + property real initY: Math.max((windowData?.at[1] - monitorData?.reserved[1] - monitorData?.y) * root.scale, 0) + yOffset property real xOffset: 0 property real yOffset: 0 -- cgit v1.2.3