From e4e99bff2d4625aaccb152f5d1f46691a4fc19aa Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 17 Sep 2025 11:28:40 +0200 Subject: [PATCH] compext: Xi: use return value of X_SEND_REPLY_SIMPLE() Signed-off-by: Enrico Weigelt, metux IT consult --- composite/compext.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composite/compext.c b/composite/compext.c index e69ac18021..2e78dad21f 100644 --- a/composite/compext.c +++ b/composite/compext.c @@ -124,8 +124,8 @@ ProcCompositeQueryVersion(ClientPtr client) swapl(&rep.majorVersion); swapl(&rep.minorVersion); } - X_SEND_REPLY_SIMPLE(client, rep); - return Success; + + return X_SEND_REPLY_SIMPLE(client, rep); } #define VERIFY_WINDOW(pWindow, wid, client, mode) \ @@ -303,8 +303,8 @@ SingleCompositeGetOverlayWindow(ClientPtr client, xCompositeGetOverlayWindowReq if (client->swapped) { swapl(&rep.overlayWin); } - X_SEND_REPLY_SIMPLE(client, rep); - return Success; + + return X_SEND_REPLY_SIMPLE(client, rep); } static int @@ -858,8 +858,8 @@ ProcCompositeGetOverlayWindow(ClientPtr client) if (client->swapped) { swapl(&rep.overlayWin); } - X_SEND_REPLY_SIMPLE(client, rep); - return Success; + + return X_SEND_REPLY_SIMPLE(client, rep); #else return SingleCompositeGetOverlayWindow(client, stuff); #endif /* XINERAMA */