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

Hans de Goede hdegoede at redhat.com
Fri Oct 28 17:21:34 UTC 2016


Hi,

On 28-10-16 18:25, Keith Packard wrote:
> Signed-off-by: Keith Packard <keithp at keithp.com>

Patch LGTM:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


> ---
>  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);
>


More information about the xorg-devel mailing list