diff options
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r-- | src/sna/sna_driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c index 0bb5c408..eee9527c 100644 --- a/src/sna/sna_driver.c +++ b/src/sna/sna_driver.c @@ -891,7 +891,8 @@ sna_screen_init(SCREEN_INIT_ARGS_DECL) miInitializeBackingStore(screen); xf86SetBackingStore(screen); xf86SetSilkenMouse(screen); - miDCInitialize(screen, xf86GetPointerScreenFuncs()); + if (!miDCInitialize(screen, xf86GetPointerScreenFuncs())) + return FALSE; xf86DrvMsg(scrn->scrnIndex, X_INFO, "Initializing HW Cursor\n"); if (!xf86_cursors_init(screen, SNA_CURSOR_X, SNA_CURSOR_Y, |