From: MinJeong Kim Date: Fri, 17 Feb 2017 08:20:45 +0000 (+0900) Subject: e_client: check content type of ec->frame also on visibilty calculation X-Git-Tag: submit/tizen/20170217.142531^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c347830b22faadef7b643175cfbe2d3a436a57d;p=platform%2Fupstream%2Fenlightenment.git e_client: check content type of ec->frame also on visibilty calculation 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 --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 540b19087c..112b7d81b9 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -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; */