xserver/xfixes
Peter Hutterer c100211034 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>
2013-03-06 08:56:23 +10:00
..
Makefile.am Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
cursor.c dix: only show the cursor if a window defines one (#58398) 2013-03-06 08:56:23 +10: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 2012-12-10 14:18:22 +10:00
xfixes.h cursor: Move pointer barrier code over to XI 2012-12-17 15:01:22 +10:00
xfixesint.h Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00