e_comp_object: focus defer set even if the content type of comp object is external. 32/123532/2 accepted/tizen/3.0/common/20170407.071241 accepted/tizen/3.0/ivi/20170407.051025 accepted/tizen/3.0/mobile/20170407.050900 accepted/tizen/3.0/tv/20170407.050938 accepted/tizen/3.0/wearable/20170407.051003 submit/tizen_3.0/20170406.081426
authorjunghwan Choi <jhhh.choi@samsung.com>
Thu, 6 Apr 2017 04:28:43 +0000 (13:28 +0900)
committerjunghwan Choi <jhhh.choi@samsung.com>
Thu, 6 Apr 2017 04:31:08 +0000 (21:31 -0700)
- this patch fix not getting focus issue for the e_client which content type is external.

Change-Id: I72b6658173a6db7dc1a5ad0daed16df4849a4074
Signed-off-by: junghwan Choi <jhhh.choi@samsung.com>
src/bin/e_comp_object.c

index 9b59d4c1cf0e3ca5da808778fe3ec6b34743644b..d98ff20d1341e2e227dfe46f0c80fe9843d8dc2d 100644 (file)
@@ -1913,6 +1913,10 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         e_comp_object_frame_theme_set(cw->smart_obj, E_COMP_OBJECT_FRAME_RESHADOW);
         cw->real_hid = 0;
         evas_object_show(cw->smart_obj);
+
+        if (!cw->ec->iconic)
+          e_client_focus_defer_set(cw->ec);
+
         return;
      }
    if ((!cw->updates) && (!cw->ec->input_only) && (!cw->ec->ignored))