Re: Turning off mouse shadows in X Xorg 6.8 on Ati M9 hardware



The "redglass" and "whiteglass" cursor themes that are standard with
modern X have things that look suspiciously like shadows on them. If
your "pointer" cursor is white with a drop shadow, you're almost
certainly using whiteglass--the default pointer cursor is black with a
1-pixel white border. You find cursor themes in various places; "locate
\*whiteglass" will probably tell you where they are on your system.
Here, they're all in /usr/share/cursors/xorg-x11/ .

Yes the issue was with the drop shadow on the cursor being part of the
font.
I'd initially assumed this wasn't the case, i.e. the shadow being
created in the same way a drop shadow around a window is.
I'm able to fix the problem by changing the default cursor font used.

If you don't know which theme you're using, compile and run the
following snippet of C code:

/* No error checking, if it breaks, you get to keep both pieces.
* gcc -o xcursortest xcursortest.c -lX11 -lXcursor */

#include<stdio.h>
#include<X11/Xlib.h>
#include<X11/Xcursor/Xcursor.h>

int main(void)
{
Display *d;

d=XOpenDisplay(":0");
printf("Cursor theme is %s\n",XcursorGetTheme(d));
XCloseDisplay(d);
return 0;
}

/* end xcursortest.c */

Thanks your help.

.