2009-09-10 10:54:30 +00:00
|
|
|
diff --git a/hw/xfree86/modes/xf86Cursors.c b/hw/xfree86/modes/xf86Cursors.c
|
2009-09-22 21:57:35 +00:00
|
|
|
index fc4df84..385848b 100644
|
2009-09-10 10:54:30 +00:00
|
|
|
--- a/hw/xfree86/modes/xf86Cursors.c
|
|
|
|
+++ b/hw/xfree86/modes/xf86Cursors.c
|
2009-09-22 21:57:35 +00:00
|
|
|
@@ -480,10 +480,10 @@ xf86_use_hw_cursor_argb (ScreenPtr screen, CursorPtr cursor)
|
2009-09-10 10:54:30 +00:00
|
|
|
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
|
|
|
|
xf86CursorInfoPtr cursor_info = xf86_config->cursor_info;
|
|
|
|
|
2009-09-22 21:57:35 +00:00
|
|
|
+ ++cursor->refcnt;
|
2009-09-10 10:54:30 +00:00
|
|
|
if (xf86_config->cursor)
|
|
|
|
FreeCursor (xf86_config->cursor, None);
|
|
|
|
xf86_config->cursor = cursor;
|
2009-09-22 21:57:35 +00:00
|
|
|
- ++cursor->refcnt;
|
|
|
|
|
|
|
|
/* Make sure ARGB support is available */
|
|
|
|
if ((cursor_info->Flags & HARDWARE_CURSOR_ARGB) == 0)
|