forked from enlightenment/efl
elm_cursor: add style name for sub cursor
Missing style name for sub cursor call the next error output: ERR<24193>:elementary lib/elementary/els_cursor.c:734 elm_cursor_theme() Could not apply the theme to the cursor style=(null) Also this error call extra recalc for cursor hot spots. Fixes T5408 @fix
This commit is contained in:
parent
540de0e254
commit
a17a91b22f
|
@ -591,6 +591,7 @@ elm_object_sub_cursor_set(Evas_Object *eventarea, Evas_Object *owner, const char
|
|||
cur->eventarea = eventarea;
|
||||
cur->theme_search = !_elm_config->cursor_engine_only;
|
||||
cur->visible = EINA_FALSE;
|
||||
cur->style = eina_stringshare_add("default");
|
||||
|
||||
cur->cursor_name = eina_stringshare_add(cursor);
|
||||
if (!cur->cursor_name)
|
||||
|
|
Loading…
Reference in New Issue