xserver: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Thu Oct 23 14:30:30 PDT 2014


 Xext/panoramiXprocs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3f4edd2e3ff84c38df563b09c2e8c32404db38f7
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Oct 8 17:18:32 2014 +0200

    xinerama: Fix access mode in GetImage's drawable lookup
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>
    Reviewed-by: Julien Cristau <jcristau at debian.org>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/Xext/panoramiXprocs.c b/Xext/panoramiXprocs.c
index aa3859f..0122ff3 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;
 


More information about the xorg-commit mailing list