A fix for a miscolored X11 cursor on Intel Macs

Mar 20, '06 06:20:00AM

Contributed by: Anonymous

You may have noticed in a few rare instances your cursor in X11 becomes a transparent yellow outline. This is caused by a byte-order bug in Xquartz, in the instance your remote machine changes the cursor's appearance using an image rather than just a bitmap. (RedHat Linux systems do this to get a neat blue facet.)

Use the following if you have this problem. Do not apply this fix if you're running a PowerPC Mac.

Quit X11. Grab this file (2.7MB)) using Safari or command-line wget, then run this command:

sudo tar zxvf xfix.tar.gz -C /
Restart X11. The new binary simply adds a loop of ntohl() to the ARGB image in load_cursor(). A simple modification to quartz-cursor.c, found in X11-0.40.2 -> xc -> programs -> Xserver -> hw -> apple.

Comments (32)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20060316124704289