forked from enlightenment/efl
cursor: do not unconditionally unset cursor before setting an engine cursor
this is unnecessary: every single engine unsets the cursor when the object has been deleted this deletes enlightenment's cursor object ref 678437003f219f783ba14859a805ea27997470fd @fix
This commit is contained in:
parent
24a61a25d1
commit
5caa2df05b
|
@ -305,9 +305,6 @@ _elm_cursor_set(Elm_Cursor *cur)
|
|||
cur->obj = NULL;
|
||||
ELM_SAFE_FREE(cur->hotobj, evas_object_del);
|
||||
}
|
||||
ecore_evas_object_cursor_set(cur->ee, NULL,
|
||||
ELM_OBJECT_LAYER_CURSOR, cur->hot_x,
|
||||
cur->hot_y);
|
||||
#ifdef HAVE_ELEMENTARY_X
|
||||
if (cur->x.win)
|
||||
ecore_x_window_cursor_set(cur->x.win, cur->x.cursor);
|
||||
|
|
Loading…
Reference in New Issue