summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2011-10-25 19:33:42 +0000
committerBruno Dilly <bdilly@profusion.mobi>2011-10-25 19:33:42 +0000
commitde619a0bb895fb2d52e8a7ddc9b78c52e4189c56 (patch)
treeb131ae4e2d9e88054c1d3eebb386114cf62dc5c3 /legacy
parentba1d2ac288c5620917baafd8a38668e725fd060d (diff)
Elementary Win: make elm_win_xwindow_get works to widget items
With that elm test Cursor 2 will work again. SVN revision: 64396
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_win.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 4278f3e001..2d3237b6ff 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -2638,8 +2638,7 @@ elm_win_xwindow_get(const Evas_Object *obj)
2638 2638
2639 if (!obj) return 0; 2639 if (!obj) return 0;
2640 type = elm_widget_type_get(obj); 2640 type = elm_widget_type_get(obj);
2641 if (!type) return 0; 2641 if ((!type) || (type != widtype)) return _elm_ee_win_get(obj);
2642 if (type != widtype) return _elm_ee_win_get(obj);
2643#ifdef HAVE_ELEMENTARY_X 2642#ifdef HAVE_ELEMENTARY_X
2644 win = elm_widget_data_get(obj); 2643 win = elm_widget_data_get(obj);
2645 if (!win) return 0; 2644 if (!win) return 0;