forked from enlightenment/efl
elm - cursor - don't get window id if event area obj is not a window
This commit is contained in:
parent
e416ea19a5
commit
d85c9ac689
|
@ -339,7 +339,7 @@ _elm_cursor_cur_set(Elm_Cursor *cur)
|
|||
cur->use_engine = EINA_TRUE;
|
||||
}
|
||||
|
||||
if (cur->use_engine)
|
||||
if ((cur->use_engine) && (eo_isa(cur->eventarea, ELM_OBJ_WIN_CLASS)))
|
||||
{
|
||||
#ifdef HAVE_ELEMENTARY_X
|
||||
cur->x.win = elm_win_xwindow_get(cur->eventarea);
|
||||
|
|
Loading…
Reference in New Issue