Revert "randr: fix RRGetCrtcTransform reply length, part 2"

This reverts commit 53876f1ef1.

Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2012>
This commit is contained in:
Alan Coopersmith 2025-06-11 13:35:44 -07:00
parent 8cb078f8b6
commit eca05b85f9

View File

@ -1831,7 +1831,7 @@ ProcRRGetCrtcTransform(ClientPtr client)
xRRGetCrtcTransformReply rep = {
.type = X_Reply,
.sequenceNumber = client->sequence,
.length = bytes_to_int32(sizeof(xRRGetCrtcTransformReply) - sizeof(xGenericReply) + nextra),
.length = bytes_to_int32(sizeof(xRRGetCrtcTransformReply) - sizeof(xReq) + nextra),
.hasTransforms = crtc->transforms,
};