aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-07-28 07:08:45 +0900
committerGitHub <noreply@github.com>2025-07-28 07:08:45 +0900
commit0539861a8f951f0f13ed71af9516293c132cfff6 (patch)
treefc835bec717a2ded521806b501a2d932902dac16
parent71be8d527dadb784d87c48786d78dc6d2a5c96ca (diff)
parent1fbd9753ca36d1aae4a265284073a892703193bb (diff)
Merge pull request #780 from Mewlkor/fix-qs-alignment-scale
Fix: Fix qs alignment scale
-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 22cf929e..93e90967 100644
--- a/config/quickshell/modules/overview/OverviewWidget.qml
+++ b/config/quickshell/modules/overview/OverviewWidget.qml
@@ -239,8 +239,8 @@ Item {
delegate: OverviewWindow {
id: window
windowData: windowByAddress[modelData]
- monitorData: root.monitorData
- scale: root.scale
+ monitorData: HyprlandData.monitors.find(m => m.id === windowData?.monitor) // use monitorData of the monitor the window is on
+ scale: root.scale * (monitorData?.scale / root.monitor?.scale) // adjust window scale to the monitor where the overview is displayed
availableWorkspaceWidth: root.workspaceImplicitWidth
availableWorkspaceHeight: root.workspaceImplicitHeight
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage