[PATCH 2/2] xf86-video-geode: after reloading cursors, hide the cursor
Andres Salomon
dilinger at queued.net
Thu Dec 4 18:33:32 PST 2008
Whenever we reload cursors, the LX driver needs to call hide_cursor()
to ensure that the cursor is hidden until we finally unhide the cursor.
Without this, we see ghost cursors during rotation or VT switches.
Signed-off-by: Andres Salomon <dilinger at debian.org>
---
src/lx_display.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/lx_display.c b/src/lx_display.c
index 24e490f..605107c 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -315,8 +315,10 @@ lx_crtc_commit(xf86CrtcPtr crtc)
}
/* Load the cursor */
- if (crtc->scrn->pScreen != NULL)
+ if (crtc->scrn->pScreen != NULL) {
xf86_reload_cursors(crtc->scrn->pScreen);
+ crtc->funcs->hide_cursor(crtc);
+ }
/* Renable the video */
--
1.5.6.5
More information about the xorg
mailing list