aboutsummaryrefslogtreecommitdiffstats
path: root/config/quickshell/modules/overview/OverviewWidget.qml
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-07-27 10:14:21 +0900
committerGitHub <noreply@github.com>2025-07-27 10:14:21 +0900
commit71be8d527dadb784d87c48786d78dc6d2a5c96ca (patch)
treec90c383d6c51170e253223063ffd8fc696353c14 /config/quickshell/modules/overview/OverviewWidget.qml
parenta49b193e1bf7c89b8de95190456937335225001e (diff)
parente6d61ca717edce83aaefaceca9e76e30677e88ee (diff)
Merge pull request #779 from Mewlkor/fix-qs-alignment
fix: fix qs overview window alignment
Diffstat (limited to 'config/quickshell/modules/overview/OverviewWidget.qml')
-rw-r--r--config/quickshell/modules/overview/OverviewWidget.qml4
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
}
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage