Files
xserver/dix
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
..
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-12-05 18:09:48 -06:00
2012-03-21 13:54:42 -07:00
2012-07-06 10:35:13 +01:00
2012-11-19 12:12:23 +10:00
2012-03-21 13:54:42 -07:00
2012-05-01 11:36:30 +10:00
2013-02-15 14:39:27 +10:00
2012-03-21 13:54:42 -07:00
2012-03-22 11:33:42 +10:00