aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2026-01-26 15:18:26 +0100
committerdec05eba <dec05eba@protonmail.com>2026-01-26 15:18:26 +0100
commitf4ee71a094f9c6e0739199704268b79d6f3177ef (patch)
tree09909b6d9fabc40f6a154ef1848f0dba05a35dc6 /src/main.cpp
parent2dce92d82ff76ecec5221ed970d4d004d7a65e14 (diff)
Remove fixed TODO
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cd94916..00f158e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2269,6 +2269,7 @@ static std::string region_get_data(gsr_egl *egl, vec2i *region_size, vec2i *regi
} else {
region_position->x -= monitor_pos.x;
region_position->y -= monitor_pos.y;
+ // Match drm plane coordinate space (1x scaling) to wayland coordinate space (which may have scaling set by user)
region_position->x *= monitor_scale_inverted;
region_position->y *= monitor_scale_inverted;