diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-07-19 14:47:00 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-07-19 14:47:00 +0000 |
commit | 279846ff58069c2ac686a94c08951577483b315c (patch) | |
tree | 63b13162dd47937781f018cd05cd55bc77f64449 | |
parent | a0f1f0d734ac1e8d21524fcee34c6e3fd770752d (diff) |
Disable hardware cursor before we exit. From NetBSD.
ok oga@
-rw-r--r-- | driver/xf86-video-sunffb/src/ffb_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver/xf86-video-sunffb/src/ffb_driver.c b/driver/xf86-video-sunffb/src/ffb_driver.c index 4e37c6cc2..68e4dbc27 100644 --- a/driver/xf86-video-sunffb/src/ffb_driver.c +++ b/driver/xf86-video-sunffb/src/ffb_driver.c @@ -900,6 +900,9 @@ FFBCloseScreen(int scrnIndex, ScreenPtr pScreen) ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; FFBPtr pFfb = GET_FFB_FROM_SCRN(pScrn); + /* Disable hardware cursor. */ + FFBDacCursorEnableDisable(pFfb, 0); + /* Restore kernel ramdac state before we unmap registers. */ FFBDacFini(pFfb); |