commit 979e8913ef077c878b249972cb8afc2f13c5d6ec
parent b55a0a07c8c79184aee889f29c70eaaf03d9ab76
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 22 Jan 2014 18:36:06 -0800
pointer: Position cursor before attaching buffer
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswc/pointer.c b/libswc/pointer.c
@@ -202,8 +202,8 @@ void swc_pointer_set_cursor(struct swc_pointer * pointer, uint32_t id)
pointer->cursor.hotspot.x = cursor->hotspot_x;
pointer->cursor.hotspot.y = cursor->hotspot_y;
- swc_view_attach(&pointer->cursor.view, &pointer->cursor.internal_buffer);
update_cursor(pointer);
+ swc_view_attach(&pointer->cursor.view, &pointer->cursor.internal_buffer);
}
bool swc_pointer_initialize(struct swc_pointer * pointer)