summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-01-10 00:45:22 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-01-10 00:48:33 -0500
commitbe44ce3d09be745ab68cc8514209144a9a631026 (patch)
tree0151581503ccffd6ea57788ccf7cdeaa73aadb11
parent63a5cdf0f8516c16a62233da0c2af0e10a13264b (diff)
entry now finds its window object more effectively for cnp init
-rw-r--r--src/lib/elm_entry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index d398d033f..a345e41bb 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -3460,6 +3460,8 @@ _elm_entry_evas_object_smart_add(Eo *obj, Elm_Entry_Data *priv)
3460 3460
3461#ifdef HAVE_ELEMENTARY_X 3461#ifdef HAVE_ELEMENTARY_X
3462 top = elm_widget_top_get(obj); 3462 top = elm_widget_top_get(obj);
3463 if (top && (!eina_streq(evas_object_type_get(top), "elm_win")))
3464 top = ecore_evas_data_get(ecore_evas_ecore_evas_get(evas_object_evas_get(obj)), "elm_win");
3463 if ((top) && (elm_win_xwindow_get(top))) 3465 if ((top) && (elm_win_xwindow_get(top)))
3464 { 3466 {
3465 priv->sel_notify_handler = 3467 priv->sel_notify_handler =