[PATCH xquartz 2/2] XQuartz: Check client->local rather than LocalClient(client)

Jeremy Huddleston jeremyhu at apple.com
Tue Jan 10 00:55:23 PST 2012


Regression From: 49d38b75c8f3276cfce33ffe6b8c4fbeb1081b96

CC: Daniel Stone <daniel at fooishbar.org>
CC: Adam Jackson <ajax at redhat.com>
Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>
---
 hw/xquartz/xpr/appledri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xquartz/xpr/appledri.c b/hw/xquartz/xpr/appledri.c
index 091145b..64dea1b 100644
--- a/hw/xquartz/xpr/appledri.c
+++ b/hw/xquartz/xpr/appledri.c
@@ -495,7 +495,7 @@ SProcAppleDRIDispatch (
         return SProcAppleDRIQueryDirectRenderingCapable(client);
     }
 
-    if (!LocalClient(client))
+    if (!client->local)
         return DRIErrorBase + AppleDRIClientNotLocal;
 
     switch (stuff->data)
-- 
1.7.7.4



More information about the xorg-devel mailing list