From eca05b85f99d67caf6e47bfc6c02b21615734d7a Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 11 Jun 2025 13:35:44 -0700 Subject: [PATCH] Revert "randr: fix RRGetCrtcTransform reply length, part 2" This reverts commit 53876f1ef10eb9d513b126feda25e9fba5b375df. Part-of: --- randr/rrcrtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index b828b7301..cbdc74e4d 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -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, };