summaryrefslogtreecommitdiff
path: root/hw/xfree86/modes/xf86Cursors.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/modes/xf86Cursors.c')
-rw-r--r--hw/xfree86/modes/xf86Cursors.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/xfree86/modes/xf86Cursors.c b/hw/xfree86/modes/xf86Cursors.c
index 8c5a94ca3..fc4df8477 100644
--- a/hw/xfree86/modes/xf86Cursors.c
+++ b/hw/xfree86/modes/xf86Cursors.c
@@ -639,9 +639,11 @@ xf86_reload_cursors (ScreenPtr screen)
639 (*cursor_info->LoadCursorARGB) (scrn, cursor); 639 (*cursor_info->LoadCursorARGB) (scrn, cursor);
640 else if (src) 640 else if (src)
641#endif 641#endif
642 (*cursor_info->LoadCursorImage)(cursor_info->pScrn, src); 642 (*cursor_info->LoadCursorImage)(scrn, src);
643 643
644 (*cursor_info->SetCursorPosition)(cursor_info->pScrn, x, y); 644 x += scrn->frameX0 + cursor_screen_priv->HotX;
645 y += scrn->frameY0 + cursor_screen_priv->HotY;
646 (*cursor_info->SetCursorPosition)(scrn, x, y);
645 } 647 }
646} 648}
647 649