Skip to content

(release/25.1) randr: do full transform when checking SetScreenSize size#2281

Merged
metux merged 1 commit intorelease/25.1from
pr/randr-do-full-transform-when-checking-setscreensize-size-_2026-04-18_19-50-04
Apr 21, 2026
Merged

(release/25.1) randr: do full transform when checking SetScreenSize size#2281
metux merged 1 commit intorelease/25.1from
pr/randr-do-full-transform-when-checking-setscreensize-size-_2026-04-18_19-50-04

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 18, 2026

When validating the size passed to SetScreenSize, the CRTC mode size
needs to be applied the full CRTC transform, otherwise the check may
bogusly fail.

Do a full transform on the CRTC mode size when checking the
SetScreenSize request size instead of the current code that only
manually handles rotation.

Signed-off-by: Icenowy Zheng uwu@icenowy.me
Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1971

@metux metux self-assigned this Apr 18, 2026
@metux metux requested a review from a team April 18, 2026 17:50
When validating the size passed to SetScreenSize, the CRTC mode size
needs to be applied the full CRTC transform, otherwise the check may
bogusly fail.

Do a full transform on the CRTC mode size when checking the
SetScreenSize request size instead of the current code that only
manually handles rotation.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1971>
@metux metux merged commit bc7c1ac into release/25.1 Apr 21, 2026
@metux metux deleted the pr/randr-do-full-transform-when-checking-setscreensize-size-_2026-04-18_19-50-04 branch April 21, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants