|
|
|
@ -423,6 +423,7 @@ rfbSetClientColourMap(rfbClientPtr cl, int firstColour, int nColours)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (cl->format.trueColour) {
|
|
|
|
|
LOCK(cl->updateMutex);
|
|
|
|
|
(*rfbInitColourMapSingleTableFns
|
|
|
|
|
[BPP2OFFSET(cl->format.bitsPerPixel)]) (&cl->translateLookupTable,
|
|
|
|
|
&cl->screen->serverFormat, &cl->format,&cl->screen->colourMap);
|
|
|
|
@ -430,6 +431,7 @@ rfbSetClientColourMap(rfbClientPtr cl, int firstColour, int nColours)
|
|
|
|
|
sraRgnDestroy(cl->modifiedRegion);
|
|
|
|
|
cl->modifiedRegion =
|
|
|
|
|
sraRgnCreateRect(0,0,cl->screen->width,cl->screen->height);
|
|
|
|
|
UNLOCK(cl->updateMutex);
|
|
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
|
|
|
|