summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-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;