Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: R4 Sun color cursor bug Message-ID: <9001132017.AA08936@expire.lcs.mit.edu> Date: 13 Jan 90 20:17:51 GMT References: <2005@lamont.ldgo.columbia.edu> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 11 When creating and installing a cursor with XCreatePixmapCursor() and XDefineCursor() on a color display, the cursor foreground and background colors are reversed. Not quite a correct statement (both colors are sometimes being allocated to the same colormap entry, actually), but there's certainly a bug. This is a software cursor bug (so it won't show up on servers with hardware cursors). The guy who wrote this code clearly didn't think hard enough, I'll have to razz him. I haven't come up with a trivial fix, but I'll note that if the colors have been pre-allocated read-only in the colormap, it will work right.