From: Seunghun Lee Date: Thu, 1 Dec 2016 23:50:35 +0000 (+0900) Subject: rotation: exclude client that is placed out of screen from a list of rotation effect. X-Git-Tag: submit/tizen/20161202.080939~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b71b4ec081686bad33531350a1f4a4db9262ee6;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git rotation: exclude client that is placed out of screen from a list of rotation effect. Change-Id: I8be77e762f4e954f40b9709e05d18fe808528315 --- diff --git a/src/e_mod_effect_rotation.c b/src/e_mod_effect_rotation.c index a32ae7e..b3bd57b 100644 --- a/src/e_mod_effect_rotation.c +++ b/src/e_mod_effect_rotation.c @@ -182,6 +182,8 @@ _rotation_effect_targets_get(Rotation_Effect *effect) if (ec) { if (e_object_is_del(E_OBJECT(ec))) continue; + if (!E_INTERSECTS(ec->x, ec->y, ec->w, ec->h, ec->zone->x, ec->zone->y, ec->zone->w, ec->zone->h)) + continue; if ((ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) && (ec->iconic)) continue;