diff --git a/hw/xfree86/modes/xf86Cursors.c b/hw/xfree86/modes/xf86Cursors.c index b510164..3d7232b 100644 --- a/hw/xfree86/modes/xf86Cursors.c +++ b/hw/xfree86/modes/xf86Cursors.c @@ -615,7 +615,10 @@ xf86_reload_cursors (ScreenPtr screen) cursor->devPriv[screen->myNum]); (*cursor_info->SetCursorPosition)(cursor_info->pScrn, x, y); - (*cursor_info->ShowCursor)(cursor_info->pScrn); + if (xf86_config->cursor_on) + (*cursor_info->ShowCursor)(cursor_info->pScrn); + else + (*cursor_info->HideCursor)(cursor_info->pScrn); } }