diff options
author | Adam Jackson <ajax@redhat.com> | 2012-09-20 13:16:59 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2012-09-20 14:36:39 -0400 |
commit | ff8e3ad8074cd2c8bed49b39c40c2b4892118270 (patch) | |
tree | 6c96454a127d1b1a842d4e3a07040421f114fb5b /hw/kdrive/ephyr | |
parent | 3f7bc222638d5d38324ecbc8c2c4e39af17d110e (diff) |
dix: Pull client-is-local flag up to the ClientRec
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/kdrive/ephyr')
-rw-r--r-- | hw/kdrive/ephyr/ephyrdriext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/ephyr/ephyrdriext.c b/hw/kdrive/ephyr/ephyrdriext.c index a42be07d5..1a98a2dff 100644 --- a/hw/kdrive/ephyr/ephyrdriext.c +++ b/hw/kdrive/ephyr/ephyrdriext.c @@ -561,7 +561,7 @@ ProcXF86DRIQueryDirectRenderingCapable(register ClientPtr client) return BadValue; } - if (!LocalClient(client) || client->swapped) + if (!client->local || client->swapped) isCapable = 0; rep = (xXF86DRIQueryDirectRenderingCapableReply) { @@ -1229,7 +1229,7 @@ ProcXF86DRIDispatch(register ClientPtr client) } } - if (!LocalClient(client)) + if (!client->local) return DRIErrorBase + XF86DRIClientNotLocal; switch (stuff->data) { |