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 /Xext/xf86bigfont.c | |
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 'Xext/xf86bigfont.c')
-rw-r--r-- | Xext/xf86bigfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xf86bigfont.c b/Xext/xf86bigfont.c index b4ef5e460..faf81f7dc 100644 --- a/Xext/xf86bigfont.c +++ b/Xext/xf86bigfont.c @@ -288,7 +288,7 @@ ProcXF86BigfontQueryVersion(ClientPtr client) .gid = getegid(), #ifdef HAS_SHM .signature = signature, - .capabilities = (LocalClient(client) && !client->swapped) + .capabilities = (client->local && !client->swapped) ? XF86Bigfont_CAP_LocalShm : 0 #else .signature = 0, @@ -357,7 +357,7 @@ ProcXF86BigfontQueryFont(ClientPtr client) #else switch (client->req_len) { case 2: /* client with version 1.0 libX11 */ - stuff_flags = (LocalClient(client) && + stuff_flags = (client->local && !client->swapped ? XF86Bigfont_FLAGS_Shm : 0); break; case 3: /* client with version 1.1 libX11 */ |