[PATCH] dri2: Only send the swap event if the client hasn't gone fishing
Keith Packard
keithp at keithp.com
Wed May 19 12:40:24 PDT 2010
On Wed, 19 May 2010 11:40:24 -0400, Kristian Høgsberg <krh at bitplanet.net> wrote:
> How can we be sure another client hasn't connected in the meantime
> getting the id of the client who schedules the swap?
I thought the whole point of creating a resource was that it would be
deleted when the client exited. If the existing client is dead and not
reaped yet, then the new client won't get the same id -- the client id
is the index into the client array.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100519/c705cc32/attachment.pgp>
More information about the xorg-devel
mailing list