[PATCH 4/7] Create xfixes invisible cursor only when it is first used.

Keith Packard keithp at keithp.com
Fri May 14 11:13:09 PDT 2010


On Fri, 14 May 2010 18:53:31 +0300, Tiago Vignatti <tiago.vignatti at nokia.com> wrote:
> On Wed, May 12, 2010 at 11:45:08PM +0200, ext Keith Packard wrote:
> > This mostly ensures that the cursor is created after the server is up
> > and running with all of the DevPrivate keys initialized. However, it
> > will also save a tiny amount of memory on systems where the invisible
> > cursor is never used.
> 
> Keith, right now we're discussing internally a different approach to use
> invisible cursors. It will send a nil cursor to mi instead this fake invisible
> one. This improves the performance for sw cursors given it doesn't send
> unnecessary damage events to draw them.
> 
> This patch will pop up on the next days here probably by Oliver.

Cool. That does sound like a better approach.

-- 
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/20100514/56084365/attachment.pgp>


More information about the xorg-devel mailing list