diff --git a/hw/xfree86/modes/xf86Cursors.c b/hw/xfree86/modes/xf86Cursors.c index 5df1ab7..6953225 100644 --- a/hw/xfree86/modes/xf86Cursors.c +++ b/hw/xfree86/modes/xf86Cursors.c @@ -433,6 +433,9 @@ xf86_set_cursor_position(ScrnInfoPtr scrn, int x, int y) xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); int c; + if (xf86_config->cursor == NullCursor) + return; + /* undo what xf86HWCurs did to the coordinates */ x += scrn->frameX0; y += scrn->frameY0;