[PATCH 22/22] os: Cache result from LocalClient query

Keith Packard keithp at keithp.com
Wed Dec 29 17:03:16 PST 2010


On Wed, 29 Dec 2010 15:29:50 -0800, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:
> That seems to leave the the local_client flag set to UNKNOWN instead of
> REMOTE for the case that LocalClient doesn't match anything and falls
> through to the return FALSE; at the end.
> 
> I'd also be tempted to simplify the logic and reduce duplication a bit
> while fixing that:

I'd like to just see this get computed when the client connects so that
this function just returned oc->local_client

-- 
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/20101229/eae217cd/attachment.pgp>


More information about the xorg-devel mailing list