mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 02:39:00 +00:00
Disable hardware cursor before we exit. From NetBSD.
ok oga@
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user