Commit 91e1fe58 authored by Matthias Hopf's avatar Matthias Hopf Committed by Peter Hutterer

Revert fe31f9c6 + 977953bf to fix issue for good.

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 90aa0e4a
......@@ -480,14 +480,8 @@ xf86_use_hw_cursor_argb (ScreenPtr screen, CursorPtr cursor)
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn);
xf86CursorInfoPtr cursor_info = xf86_config->cursor_info;
if (xf86_config->cursor) {
/* Under some circumstances an already set cursor is set again.
* If the pointer is freed, ->bits is killed */
if (xf86_config->cursor != cursor)
FreeCursor (xf86_config->cursor, None);
if (xf86_config->cursor)
FreeCursor (xf86_config->cursor, None);
xf86_config->cursor = cursor;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment