diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-01-26 15:18:26 +0100 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-01-26 15:18:26 +0100 |
| commit | f4ee71a094f9c6e0739199704268b79d6f3177ef (patch) | |
| tree | 09909b6d9fabc40f6a154ef1848f0dba05a35dc6 /src/main.cpp | |
| parent | 2dce92d82ff76ecec5221ed970d4d004d7a65e14 (diff) | |
Remove fixed TODO
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
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; |
