xserver-multidpi/hw
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
..
dmx dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
kdrive dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
vfb vfb: Don't reimplement micmap so much 2014-10-08 10:10:39 +02:00
xfree86 Skip SetCursor when vtSema is FALSE. 2014-10-27 13:36:20 -07:00
xnest dix: Always store GC client clip as a region (v2) 2014-10-27 15:46:05 -04:00
xquartz xquartz: Remove useless DRIWindowExposures 2014-10-08 16:01:35 +02:00
xwayland xwayland: always include drm.xml in tarballs 2014-09-18 15:07:20 -07:00
xwin xwin: Remove primary DirectDraw engine 2014-10-09 09:28:04 +02:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00