From 0842210f93fc263d7470dc4f7a2af44c75ef7e48 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 28 Apr 2026 17:22:49 +0200 Subject: [PATCH] xfixes: region: fix duplicate reply field swapping The sequenceNumber and length fields are already swapped behind the scenes by X_SEND_REPLY*() macros, so we must not swap them here a second time. Signed-off-by: Enrico Weigelt, metux IT consult --- xfixes/region.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xfixes/region.c b/xfixes/region.c index 09ca7ec696..ea3cfef4b1 100644 --- a/xfixes/region.c +++ b/xfixes/region.c @@ -487,8 +487,6 @@ ProcXFixesFetchRegion(ClientPtr client) }; if (client->swapped) { - swaps(&reply.sequenceNumber); - swapl(&reply.length); swaps(&reply.x); swaps(&reply.y); swaps(&reply.width);