summaryrefslogtreecommitdiff
path: root/src/smi_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/smi_crtc.c')
-rw-r--r--src/smi_crtc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/smi_crtc.c b/src/smi_crtc.c
index d182e37..9c452c9 100644
--- a/src/smi_crtc.c
+++ b/src/smi_crtc.c
@@ -74,9 +74,13 @@ SMI_CrtcModeFixup(xf86CrtcPtr crtc,
static void
SMI_CrtcPrepare(xf86CrtcPtr crtc)
{
+ ScrnInfoPtr pScrn = crtc->scrn;
+ SMIPtr pSmi = SMIPTR(pScrn);
+
ENTER();
- /* Nothing */
+ if (pSmi->HwCursor)
+ xf86_hide_cursors(pScrn);
LEAVE();
}