[PATCH] mi: removed the invisible cursor sprite; use NullCursor instead.

Keith Packard keithp at keithp.com
Mon May 17 09:43:54 PDT 2010


On Mon, 17 May 2010 07:50:25 +0300, Oliver McFadden <oliver.mcfadden at nokia.com> wrote:
> Previously the cursor code would be called even with a "hidden" cursor.
> This was because the X server used an invisible 1x1 cursor sprite,
> rather than a NULL cursor.
> 
> This will help performance when XDefineCursor() is never called, and
> also when the cursor is hidden via XFixesHideCursor() as there are no
> damage events generated via the MI functions.
> 
> Note that this only applies for software cursors.

This comment seems confusing -- does this mean that the hardware
cursor path will need fixing too?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100517/c12e9299/attachment.pgp>


More information about the xorg-devel mailing list