Index: xc/programs/Xserver/Xprint/ps/PsInit.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/Xprint/ps/PsInit.c,v retrieving revision 1.7 diff -u -2 -0 -r1.7 PsInit.c --- xc/programs/Xserver/Xprint/ps/PsInit.c 5 Dec 2004 04:39:34 -0000 1.7 +++ xc/programs/Xserver/Xprint/ps/PsInit.c 8 Mar 2005 07:35:32 -0000 @@ -369,40 +369,43 @@ rootDepth = visuals[1].nplanes; #ifdef GLXEXT { miInitVisualsProcPtr proc = NULL; GlxWrapInitVisuals(&proc); /* GlxInitVisuals ignores the last three arguments. */ proc(&visuals, &depths, &nv, &nd, &rootDepth, &defaultVisual, 0, 0, 0); } #endif /* GLXEXT */ miScreenInit(pScreen, (pointer)0, pScreen->width, pScreen->height, (int) (pScreen->width / (pScreen->mmWidth / 25.40)), (int) (pScreen->height / (pScreen->mmHeight / 25.40)), 0, rootDepth, nd, depths, defaultVisual, nv, visuals); + pScreen->minInstalledCmaps = 1; + pScreen->maxInstalledCmaps = 256; + if( cfbCreateDefColormap(pScreen)==FALSE ) return FALSE; /*scalingScreenInit(pScreen);*/ return TRUE; } static void AllocatePsPrivates(ScreenPtr pScreen) { static unsigned long PsGeneration = 0; if((unsigned long)PsGeneration != serverGeneration) { PsScreenPrivateIndex = AllocateScreenPrivateIndex(); PsWindowPrivateIndex = AllocateWindowPrivateIndex(); AllocateWindowPrivate(pScreen, PsWindowPrivateIndex, sizeof(PsWindowPrivRec));