On Mon, 28 Jun 2010 17:43:28 -0700, Jesse Barnes <[email protected]> 
wrote:

> This is really a question of which behavior we want to preserve:
>   1) clearing of IgnoredClientsWithInput across multiple IgnoreClient
>   calls
> or
>   2) allowing multiple IgnoreClient and AttendClient calls to have any
>   effect at all except when first ignoring and finally attending

I think that 2) is what we want -- permitting nesting of ignore/attend
calls with the client blocked until all of the reasons for suspending
the client are cleared.

Can anyone think of a reason to want the other behaviour in
non-cooperating portions of the server?

> Here's what the counter patch looks like.  It needs to be matched with
> a change to my DRI2 patch to unconditionally call AttendClient so the
> counts match up.

This looks good to me. I assume the client is allocated with calloc so
that the count starts out at zero?

Reviewed-by: Keith Packard <[email protected]>

-- 
[email protected]

Attachment: pgpDZK7cQXEjL.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to