xserver-multidpi/xfixes
Jamey Sharp 7c085aebfe xfixes: Remove the invisible cursor sprite, using NullCursor instead.
Oliver McFadden reports that the invisible cursor sprite caused damage
events and thus unnecessary redrawing, so removing it improves
performance when using software cursor sprites, especially on those
devices where you do not want a visible cursor: touchscreen tablets,
embedded devices, etc.

For the xfree86 DDX, if hardware cursors are used, the driver is
required to provide a HideCursor function, which will be called instead
of trying to set a null cursor. I think software cursors are already
safe. The other DDXes also look safe.

As far as I can tell, there's no reason to realize a null cursor. I
think everything that handles null cursors doesn't rely on any setup in
RealizeCursor, and treats them as empty cursors.

Xnest assumes that if a cursor is created, it will be realized before it
is freed, which didn't happen if the invisible cursor was never used in
a server generation. So this fixes a segfault in Xnest as well.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Cc: Oliver McFadden <oliver.mcfadden@nokia.com>
Signed-off-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Tested-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-05-24 22:15:14 -07:00
..
cursor.c xfixes: Remove the invisible cursor sprite, using NullCursor instead. 2010-05-24 22:15:14 -07:00
Makefile.am Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
region.c Return an appropriately-typed error from dixLookupResourceByType. 2010-05-19 12:32:48 -07:00
saveset.c Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
select.c Set event sequence number in WriteEventsToClient instead of at callers. 2010-05-19 12:32:34 -07:00
xfixes.c Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
xfixes.h Add typed resource-lookup errors for non-core resource types. 2010-05-19 12:32:48 -07:00
xfixesint.h Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00