xserver-multidpi/hw/xfree86/ramdac
Yogish Kulkarni df6a3a07f6 Skip SetCursor when vtSema is FALSE.
Consider below sequence -
1) Cursor is removed : isUp will be FALSE if HW cursor is set.
2) VT switched away from X : vtSema becomes FALSE.
3) xf86CursorSetCursor is called with non-null CursorPtr :
Saves the passed in CursorPtr, fallbacks to SW cursor and invokes
spriteFuncs->SetCursor which saves the area under cursor and restores
the cursor. This sets isUp to TRUE and as vtSema is FALSE saved data
is garbage.
4) VT switched to X : vtSema becomes TRUE. xf86Cursor enable fb access
is called which will remove the SW cursor, i.e copies saved data in #3
to screen.

This results to momentary garbage data on screen. Hence when !vtSema
skip spriteFuncs->SetCursor.

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

Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-27 13:36:20 -07:00
..
BT.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BT.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
BTPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
CURSOR.NOTES Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
IBM.c hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
IBM.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
IBMPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
Makefile.am Replace INCLUDES with AM_CPPFLAGS 2013-08-06 13:08:13 +10:00
TI.c hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
TI.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
TIPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86Cursor.c Skip SetCursor when vtSema is FALSE. 2014-10-27 13:36:20 -07:00
xf86Cursor.h hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
xf86CursorPriv.h Add a return value to load_cursor_argb() to allow it to report failure 2014-04-03 16:46:55 -07:00
xf86HWCurs.c hw/xfree86: Restore API compatibility for cursor loading functions 2014-04-25 14:41:52 -07:00
xf86RamDac.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RamDac.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xf86RamDacCmap.c xfree86: Remove #include "compiler.h" from places that don't need it 2014-07-28 12:18:03 -07:00
xf86RamDacPriv.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00