The problem that you are experiencing is most likely due to the way the X
client application uses the Color Lookup Map. We have seen a difference
between the two versions of the xgif program. The old version of xgif
(which uses the default colormap) causes the most slowness. The new version
(which uses the colormap routine in the Xlib) behaves much faster. Here are
examples of C code used by the two versions of xgif:
Old version:
#define DefaultColormap(pty, scr) (((dpy)->screens[(scr)]).cmap)
theCmap = DefaultColormap(theDisp, theScreen);
New version:
theCmap = XCreateColormap(theDisp, rootW, theVisual, AllocNone);
We also experienced similar effects (color flashing and/or changing) on the
Native X11 server.