Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!sdd.hp.com!hplabs!hpfcso!stroyan From: stroyan@hpfcso.HP.COM (Mike Stroyan) Newsgroups: comp.windows.x Subject: Re: cursor color Message-ID: <7320010@hpfcso.HP.COM> Date: 14 Jun 90 16:54:46 GMT References: <57377@bbn.BBN.COM> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 17 > XRecolorCursor takes two XColor structures, one for foreground > and one for background colors. The structures specify the color > number and the RGB values. I have an application that uses three > color maps that share some colors, and I want the cursor to be one > of the shared colors so it won't change color when I change colormaps. The cursor may not be displayed in the colormap of the current colormap focus window. Some servers have separate hardware cursors that use a different colormap. Given this possibility it is wise that the cursor colors are set in RGB values. If a server draws a cursor in the frame buffer it should recompute the cursor indices to match the requested RGB values whenever it installs a new colormap. If the X server doesn't update the cursor to match the colormap, then there isn't much that a client can do about it. Mike Stroyan