diff options
author | Adam Jackson <ajax@redhat.com> | 2014-10-08 17:18:32 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-23 14:29:49 -0700 |
commit | 3f4edd2e3ff84c38df563b09c2e8c32404db38f7 (patch) | |
tree | 5a7fb39b5c02e21547c3d01bc54b09306658be0e /Xext/panoramiXprocs.c | |
parent | 942e18e17e334d7a25f8c1dcc6f5c3711eeb6a7d (diff) |
xinerama: Fix access mode in GetImage's drawable lookup
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xext/panoramiXprocs.c')
-rw-r--r-- | Xext/panoramiXprocs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c index aa3859fdb..0122ff3a8 100644 --- a/Xext/panoramiXprocs.c +++ b/Xext/panoramiXprocs.c @@ -1908,7 +1908,7 @@ PanoramiXGetImage(ClientPtr client) } rc = dixLookupResourceByClass((void **) &draw, stuff->drawable, - XRC_DRAWABLE, client, DixWriteAccess); + XRC_DRAWABLE, client, DixReadAccess); if (rc != Success) return (rc == BadValue) ? BadDrawable : rc; |