Dear Peter,
    I tried as you said. There is only ONE cursor on the screen, but it's a 
software cursor, not hardware. The codes about hardware cursor are not called 
at all.
    In fact, only one hardware cursor is what I want. Please give me some 
advice.
        By the way, is there something about my driver or xorg code? 
    Thanks!
Best wishes,
Gordon
 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Peter Hutterer
Sent: 2009年3月12日 16:29
To: Gordon Yuan
Cc: [email protected]
Subject: Re: Two cursor using Xinerama on XServer 1.5.99.3

inputInfo.pointer is the virtual core pointer, the device that controls the
visible cursor sprite.
Looking at the code I think this check is incomplete. This code should only be
called for others than the VCP (which is usually hw-rendered).

IIRC this code is only called for slave devices, so it's probably
if (ScreenPriv->SWCursor || (!pDev->isMaster && pDev->u.master != 
inputInfo.pointer)

Can you give this a test please?
 
Cheers,
  Peter
_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to