From 7dcb6e627449c80cea9812462ce6a3e125bd1240 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 29 Mar 2008 14:27:35 -0700 Subject: Disable cursors while switching modes --- src/i830_display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/i830_display.c b/src/i830_display.c index 5e52aaca..6a2d1d7b 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -901,9 +901,12 @@ i830_crtc_unlock (xf86CrtcPtr crtc) static void i830_crtc_prepare (xf86CrtcPtr crtc) { + I830CrtcPrivatePtr intel_crtc = crtc->driver_private; /* Temporarily turn off FB compression during modeset */ if (i830_use_fb_compression(crtc)) i830_disable_fb_compression(crtc); + if (intel_crtc->enabled) + crtc->funcs->hide_cursor (crtc); crtc->funcs->dpms (crtc, DPMSModeOff); } -- cgit v1.2.3