xserver/xfixes
Peter Hutterer 87d7e3e352 dix: only show the cursor if a window defines one (#58398)
e02f864fdf "Suppress cursor display until the first XDefineCursor() request"
disabled cursor display a priori unless -retro is given.

On a plain server, caling XFixesHideCursor() and XFixesShowCursor() would
show the default root cursor, despite no client actually defining a cursor.

Change the logic, disable CursorVisible by default and only enable it from
the window's CWCursor logic. If no window ever defines a cursor, said cursor
stays invisible.

X.Org Bug 58398 <http://bugs.freedesktop.org/show_bug.cgi?id=58398>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Bastien Nocera <hadess@hadess.net>
Reviewed-by: Daniel Martin <consume.noise@gmail.com>
(cherry picked from commit c100211034)
2013-04-02 15:37:31 +10:00
..
cursor.c dix: only show the cursor if a window defines one (#58398) 2013-04-02 15:37:31 +10:00
Makefile.am Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
region.c Use calloc to zero fill buffers being allocated for replies & events 2012-07-09 19:58:29 -07:00
saveset.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
select.c Use C99 designated initializers in extension Events 2012-07-09 22:52:30 -07:00
xfixes.c xfixes: Fix minor number in QueryVersion 2013-02-18 12:07:25 +10:00
xfixes.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xfixesint.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00