Module Name:    xsrc
Committed By:   tsutsui
Date:           Fri Jul 24 03:57:21 UTC 2020

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/sun: sunCfb.c

Log Message:
Use proper args for dixLookupResourceByType() to get defcolormap.

Botched in mechanical 1.20 updates.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c
diff -u xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c:1.2 xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c:1.3
--- xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c:1.2	Thu Jul 23 18:14:36 2020
+++ xsrc/external/mit/xorg-server/dist/hw/sun/sunCfb.c	Fri Jul 24 03:57:21 2020
@@ -197,7 +197,7 @@ sunUninstallColormap(ColormapPtr cmap)
 	if (cmap->mid != defMapID) {
 	    ColormapPtr defMap;
 	    dixLookupResourceByType((void **)&defMap, defMapID, RT_COLORMAP,
-				    NullClient, DixUnknownAccess);
+				    serverClient, DixUseAccess);
 
 	    if (defMap)
 		(*cmap->pScreen->InstallColormap)(defMap);

Reply via email to