xserver/hw/xfree86/modes
Michel Dänzer 418fe365b4 xfree86/modes: Make sure the HW cursor is hidden when it should be
When the HW cursor is hidden (e.g. because xf86CursorResetCursor
triggers a switch from HW cursor to SW cursor), the driver isn't
notified of this for disabled CRTCs. If the HW cursor was shown when the
CRTC was disabled, it may still be displayed when the CRTC is enabled
again.

Prevent this by explicitly hiding the HW cursor again after setting a
mode if it's currently supposed to be hidden.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94560
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
2016-03-28 14:03:29 -04:00
..
Makefile.am
xf86Crtc.c
xf86Crtc.h
xf86Cursors.c
xf86DiDGA.c
xf86EdidModes.c
xf86Modes.c
xf86Modes.h
xf86RandR12.c
xf86RandR12.h
xf86Rotate.c
xf86cvt.c
xf86gtf.c