[PATCH xserver] dix: Use 'output_pending_clear' instead of open-coding it in CloseDownClient

Keith Packard keithp at keithp.com
Fri Oct 28 16:25:56 UTC 2016


Signed-off-by: Keith Packard <keithp at keithp.com>
---
 dix/dispatch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dix/dispatch.c b/dix/dispatch.c
index e111377..f16a84e 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -3406,7 +3406,7 @@ CloseDownClient(ClientPtr client)
             UngrabServer(client);
         }
         mark_client_not_ready(client);
-        xorg_list_del(&client->output_pending);
+        output_pending_clear(client);
         BITCLEAR(grabWaiters, client->index);
         DeleteClientFromAnySelections(client);
         ReleaseActiveGrabs(client);
-- 
2.10.1



More information about the xorg-devel mailing list