[comp.windows.x] Cursors on monochrome Suns with X

crm@duke.cs.duke.edu (Charlie Martin) (06/25/87)

I've run into a bug-like problem in v10r4 of X; when I create a new
cursor and define it using XCreateCursor and XDefineCursor, it is
visible on a color Sun but not on a monochrome.  Has anyone else
experienced this problem?  Any ideas?

The code frag I use to do it is this:

CC = XStroreBitmap(c_width, c_height, c_bits);
Curs = XStoreCursor(c_width, c_height, c_bits, (short *)0, c_x_hot,
                    c_y_hot, foreground, background, GXcopy);
XDefineCursor(C_Window, Curs);

Thanks for any advice,

-- 
Charlie Martin (crm@cs.duke.edu,mcnc!duke!crm)