Around 20 o'clock on Oct 25, Juliusz Chroboczek wrote:

> KP> If you're running current XFree86 CVS, you should be seeing ARGB cursors 
> KP> all over your screen as Xlib has been hacked to use them in place of the 
> KP> stock cursor images.
> 
> XCreateFontCursor ?  Can that behaviour be disabled ?

Yes, XCreateFontCursor gets redirected to themable cursors now.  You can 
disable this by setting the Xcursor.theme_core resource or the 
XCURSOR_THEME_CORE environment variable to 'false'.

> Are monochrome cursors with no non-integer alpha values automatically
> converted into hardware cursors ?

No, but that's a pretty good idea.  Should be easy to do as the code 
already walks the image converting it from ARGB to a core cursor so
that hardware can be used when necessary; right now, the core cursor is 
created by dithering against black and white which isn't quite what you 
want.

> If so, at what level does that happen ?

Core cursor compatibility happens inside the X server and inside the 
Xcursor library.  Core theming is disabled by default unless the server 
supports ARGB cursors.

> I'm sorry for the silly questions, but I'm a little late w.r.t. CVS
> right now.

Silly questions take less time to answer :-)

Keith Packard        XFree86 Core Team        HP Cambridge Research Lab


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to