rimmed pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a17a91b22f0d20ed1a5e8a42141a825473d64642

commit a17a91b22f0d20ed1a5e8a42141a825473d64642
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Apr 26 08:57:22 2017 +0300

    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
---
 src/lib/elementary/els_cursor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/elementary/els_cursor.c b/src/lib/elementary/els_cursor.c
index 04f8a28..b090de0 100644
--- a/src/lib/elementary/els_cursor.c
+++ b/src/lib/elementary/els_cursor.c
@@ -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)

-- 


Reply via email to