rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (09/01/90)
So, I would like to copy the "most frequently" used colors from the default (shared) colormap into my private one. This would minimize color flashing... I agree something is desirable. I've been thinking that it might be adequate for the window manager to attach a property to the root window, giving a list of pixels (from the default colormap) in decreasing priority order that clients with independent colormaps might wish to preserve. The window manager can include the border color pixels in this list, for example, and pixels for colors from common menus. The end user might specify other common colors by giving the window manager a list of colors for thw WM to go ahead and allocate read-only, just to stick in the list. I'm not sure it would be worth inventing a mechanism for each client to hand prioritized pixels back to the WM. Do you think this kind of mechanism provide what you need?