e_policy_visibility: added code to skip unmapped & iconify by client window while... 84/99584/3 accepted/tizen/3.0/common/20161124.182545 accepted/tizen/3.0/ivi/20161124.083337 accepted/tizen/3.0/mobile/20161124.083238 accepted/tizen/3.0/tv/20161124.083258 accepted/tizen/3.0/wearable/20161124.083315 accepted/tizen/common/20161124.170154 accepted/tizen/ivi/20161125.004536 accepted/tizen/mobile/20161125.004441 accepted/tizen/tv/20161125.004457 accepted/tizen/wearable/20161125.004512 submit/tizen/20161124.054037 submit/tizen_3.0/20161124.054124
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 23 Nov 2016 09:35:45 +0000 (18:35 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 24 Nov 2016 05:37:32 +0000 (21:37 -0800)
Change-Id: Id3e0667ec922b6004634ab36c121578a6dd542b1

src/bin/e_policy_visibility.c

index 10fb1e7bac574dfee1dabb87b1efa428c4cb5098..60b5effe4c6fcdaad08786fcf91ccbc06be3b9d6 100644 (file)
@@ -938,6 +938,10 @@ _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 unmapped client */
+   if (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 */
    if (_e_vis_ec_special_check(ec)) return EINA_FALSE;
    /* check if full screen */