From 36af7a5f9c0eaffc85fd3605bd3c0cc2b177549d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 11 Jun 2025 13:36:22 -0700 Subject: [PATCH] Revert "randr: fix RRGetCrtcTransform reply length" This reverts commit 0ca5aaba500a4791b91f8237cbd74709331f8676. Part-of: --- randr/rrcrtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index cbdc74e4d..4eaded726 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(xReq) + nextra), + .length = bytes_to_int32(sizeof(xRRGetCrtcTransformReply) - sizeof(xReq)), .hasTransforms = crtc->transforms, };