e_client: check content type of ec->frame also on visibilty calculation 91/115291/1 accepted/tizen/common/20170217.161654 accepted/tizen/ivi/20170220.223336 accepted/tizen/mobile/20170220.223216 accepted/tizen/tv/20170220.223249 accepted/tizen/wearable/20170220.223315 submit/tizen/20170217.142531 submit/tizen_3.0/20170217.142619
authorMinJeong Kim <minjjj.kim@samsung.com>
Fri, 17 Feb 2017 08:20:45 +0000 (17:20 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Fri, 17 Feb 2017 08:26:27 +0000 (17:26 +0900)
Some clients have an external content instead of nternal image object to
project client's buffer until the clients gets be first_mapped status.
This patch checks the client have external content or not, to include
the client into visibility calculation list.

Change-Id: Ib86333b35cbbaf0be27dcc159d274fb5a005bab6
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_client.c

index 540b19087c13a1cfeeeeb5d4ce6aab6f8ef20bd0..112b7d81b99e47d733b8e4fd215a852d7f1a0b2c 100644 (file)
@@ -2991,7 +2991,8 @@ _e_client_visibility_zone_calculate(E_Zone *zone)
         /* if ec is subsurface, skip this */
         cdata = (E_Comp_Wl_Client_Data *)ec->comp_data;
         if (cdata && cdata->sub.data) continue;
-        if (!ec->first_mapped) continue;
+        if ((!ec->first_mapped) &&
+            (e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE)) continue;
 
         /* TODO: need to check whether window intersects with entire screen, not zone. */
         /* if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, zone->x, zone->y, zone->w, zone->h)) continue; */