forked from enlightenment/efl
Elementary Win: make elm_win_xwindow_get works to widget items
With that elm test Cursor 2 will work again. SVN revision: 64396
This commit is contained in:
parent
ba1d2ac288
commit
de619a0bb8
|
@ -2638,8 +2638,7 @@ elm_win_xwindow_get(const Evas_Object *obj)
|
|||
|
||||
if (!obj) return 0;
|
||||
type = elm_widget_type_get(obj);
|
||||
if (!type) return 0;
|
||||
if (type != widtype) return _elm_ee_win_get(obj);
|
||||
if ((!type) || (type != widtype)) return _elm_ee_win_get(obj);
|
||||
#ifdef HAVE_ELEMENTARY_X
|
||||
win = elm_widget_data_get(obj);
|
||||
if (!win) return 0;
|
||||
|
|
Loading…
Reference in New Issue