From 5720e3d375cd0c0760b6c23f09b836a4d2602dd8 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 17 Sep 2025 11:30:35 +0200 Subject: [PATCH] randr: Xi: use return value of X_SEND_REPLY_SIMPLE() Signed-off-by: Enrico Weigelt, metux IT consult --- randr/rrproperty.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/randr/rrproperty.c b/randr/rrproperty.c index 083876956b..c3cac298fc 100644 --- a/randr/rrproperty.c +++ b/randr/rrproperty.c @@ -690,11 +690,10 @@ sendout: swapl(&rep.nItems); } - X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf); - if (prop && stuff->delete && (rep.bytesAfter == 0)) { /* delete the Property */ *prev = prop->next; RRDestroyOutputProperty(prop); } - return Success; + + return X_SEND_REPLY_WITH_RPCBUF(client, rep, rpcbuf); }