e_policy_visibility: includes launchscreen on activity condition 03/106203/3
authorJuyeon Lee <juyeonne.lee@samsung.com>
Wed, 21 Dec 2016 02:34:25 +0000 (11:34 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Wed, 21 Dec 2016 06:02:25 +0000 (22:02 -0800)
launchscreen(both ec created by tizen_launch_image and app's ec right before map)
should be a activity and join the vis_job execution for deiconify sequence

Change-Id: I8c571797adb8dc1fb5d21373182eb7e0539787c2

src/bin/e_policy_visibility.c

index fc292a413590ae36e6c93fb0c754feb7f546c2ac..b926f19883c268d18d8d7913194cdb8f7e79b8c5 100644 (file)
@@ -946,6 +946,8 @@ static Eina_Bool
 _e_vis_ec_activity_check(E_Client *ec)
 {
    int x, y, w, h;
+   E_Comp_Object_Content_Type type = E_COMP_OBJECT_CONTENT_TYPE_NONE;
+   int check_mapped = 1;
 
    /* check if ignored */
    if (e_client_util_ignored_get(ec)) return EINA_FALSE;
@@ -953,8 +955,13 @@ _e_vis_ec_activity_check(E_Client *ec)
    if ((ec->argb) && (ec->visibility.opaque <= 0)) return EINA_FALSE;
    /* check deleted client */
    if (e_object_is_del(E_OBJECT(ec))) return EINA_FALSE;
+   /* check launchscreen */
+   if (ec->frame) type = e_comp_object_content_type_get(ec->frame);
+   if ((type == E_COMP_OBJECT_CONTENT_TYPE_EXT_IMAGE) ||
+       (type == E_COMP_OBJECT_CONTENT_TYPE_EXT_EDJE))
+     check_mapped = 0;
    /* check unmapped client */
-   if (ec->comp_data && !ec->comp_data->mapped) return EINA_FALSE;
+   if (check_mapped && ec->comp_data && !ec->comp_data->mapped) return EINA_FALSE;
    /* check iconify window by client */
    if ((ec->iconic) && (ec->exp_iconify.by_client)) return EINA_FALSE;
    /* check special client */