diff options
author | Andres Salomon <dilinger@queued.net> | 2008-12-04 22:41:59 -0500 |
---|---|---|
committer | Jordan Crouse <jordan@cosmicpenguin.net> | 2008-12-09 08:00:34 -0700 |
commit | 2a36083f3cb93bd4ab456024d6b6776725085904 (patch) | |
tree | fc24063dd27deb88f899e53b362b189162819099 | |
parent | fb2c1af124a56f34c4212bba16e1926889104cb4 (diff) |
xf86-video-geode: after reloading cursors, hide the cursor
Whenever we reload cursors, the geode 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@debian.org>
-rw-r--r-- | src/lx_display.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lx_display.c b/src/lx_display.c index 24e490f..b950203 100644 --- a/src/lx_display.c +++ b/src/lx_display.c @@ -315,8 +315,11 @@ 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); + crtc->cursor_shown = FALSE; + } /* Renable the video */ |