Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/sun Use proper args for d...



details:   https://anonhg.NetBSD.org/xsrc/rev/d13595321df6
branches:  trunk
changeset: 10510:d13595321df6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jul 24 03:57:21 2020 +0000

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

Botched in mechanical 1.20 updates.

diffstat:

 external/mit/xorg-server/dist/hw/sun/sunCfb.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1c738c822ee6 -r d13595321df6 external/mit/xorg-server/dist/hw/sun/sunCfb.c
--- a/external/mit/xorg-server/dist/hw/sun/sunCfb.c     Fri Jul 24 02:20:20 2020 +0000
+++ b/external/mit/xorg-server/dist/hw/sun/sunCfb.c     Fri Jul 24 03:57:21 2020 +0000
@@ -197,7 +197,7 @@
        if (cmap->mid != defMapID) {
            ColormapPtr defMap;
            dixLookupResourceByType((void **)&defMap, defMapID, RT_COLORMAP,
-                                   NullClient, DixUnknownAccess);
+                                   serverClient, DixUseAccess);
 
            if (defMap)
                (*cmap->pScreen->InstallColormap)(defMap);



Home | Main Index | Thread Index | Old Index