Different cursors for multiple pointers?

Peter Hutterer peter.hutterer at who-t.net
Mon Nov 16 16:35:31 PST 2009


On Sun, Nov 15, 2009 at 09:01:43AM +0100, Florian Echtler wrote:
> Hello everyone,
> 
> when using multiple pointers through XI2, is there a way to set an 
> individual cursor image for each pointer (globally)? If so, how?

XIDefineCursor on the root window, there's no server flag for this though.
it's not really a global setting either, it'll get overridden by
locally-defined cursors, pretty much in the same manner as normal cursors.

the choice of cursor follows:
- is there a pointer-specific cursor defined for this window? if yes, use
  it. if not, then
- is there a cursor defined for this window? if yes, use it. if not, then
- select parent window. goto 10.

Cheers,
  Peter



More information about the xorg mailing list