e_comp_object: defer_focus set when ec turn to uniconic state with evas_object_show 08/183308/1 accepted/tizen/unified/20180704.154025 submit/tizen/20180704.090121
authorJunSeok, Kim <juns.kim@samsung.com>
Wed, 4 Jul 2018 08:31:19 +0000 (17:31 +0900)
committerJunSeok, Kim <juns.kim@samsung.com>
Wed, 4 Jul 2018 08:31:19 +0000 (17:31 +0900)
There was a bug when partial window calls evas_object_show -> raise.
Because of this bug, the window cannot get focus.
This patch is solve this problem to call defer_focus_set when vis_ec turn to uniconic state.

Change-Id: I01f6b85de25641ac33c7433724b7fe8bf5b7a429

src/bin/e_comp_object.c

index 4edf8b840e91ea6eecce6a4aabd2bcb588d40725..52e5242ceebbd667a793bd06766df10f99ddc169 100644 (file)
@@ -2151,7 +2151,8 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw)
         if (!cw->ec->exp_iconify.by_client ||
             e_policy_visibility_client_is_uniconic(cw->ec))
           evas_object_show(cw->smart_obj);
-        if (!cw->ec->iconic)
+        if (!cw->ec->iconic ||
+            e_policy_visibility_client_is_uniconic(cw->ec))
           e_client_focus_defer_set(cw->ec);
      }
 }