diff options
-rw-r--r-- | src/qxl_driver.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 3cf3137..2b0d567 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -638,6 +638,12 @@ qxl_close_screen(CLOSE_SCREEN_ARGS_DECL) qxl_screen_t *qxl = pScrn->driverPrivate; Bool result; + ErrorF ("Disabling FB access for %d\n", pScrn->scrnIndex); +#ifndef XF86_SCRN_INTERFACE + pScrn->EnableDisableFBAccess (scrnIndex, FALSE); +#else + pScrn->EnableDisableFBAccess (pScrn, FALSE); +#endif ErrorF ("Freeing %p\n", qxl->fb); free(qxl->fb); qxl->fb = NULL; |