xserver/hw/xfree86
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
..
common dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
ddc xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
dixmods xfree86: Delete file modinit.h 2014-10-02 10:17:03 -07:00
doc xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
dri dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
dri2 dri2: Invalidate DRI2Buffers upon SetWindowPixmap updates 2014-06-23 15:05:08 -07:00
drivers modesetting: Add support for rendering using glamor. 2014-10-09 09:48:51 +02:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw xfree86/fbdevhw: Fix warnings 2014-01-12 10:14:50 -08:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c xfree86: Remove i2c multimedia modules 2014-07-24 16:49:22 -07:00
int10 int10: Port off xf86ReadBIOS 2014-09-16 11:58:53 -04:00
loader loader: Remove some baklava code 2014-10-08 10:10:39 +02:00
man xfree86: Remove Option "TextClockFreq" 2014-09-26 15:27:18 -04:00
modes xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
os-support xserver: Move 'pragma GCC diagnostic' outside functions 2014-09-18 22:28:27 -07:00
parser xfree86: Remove Option "TextClockFreq" 2014-09-26 15:27:18 -04:00
ramdac Skip SetCursor when vtSema is FALSE. 2014-10-27 13:36:20 -07:00
shadowfb shadowfb: Fix initialization 2014-05-22 17:56:24 -07:00
utils Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vbe Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
vgahw vgahw: Nuke unused vgaCmap.c 2014-07-29 09:52:24 -04:00
x86emu x86emu: Undefine _NO_INLINE 2014-09-26 15:27:18 -04:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00
Xorg.sh.in Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
sdksyms.sh mi: Fold mifpolycon.c into miarc.c 2014-10-27 15:45:24 -04:00
xorg-wrapper.c Xorg.wrap: Make the console check portable 2014-04-18 11:40:09 +02:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00