From: Doyoun Kang Date: Mon, 11 Jul 2016 05:58:03 +0000 (+0900) Subject: rotation: consider the transient parent window while finding rotation effect targets. X-Git-Tag: submit/tizen/20160711.070536^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F79368%2F1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git rotation: consider the transient parent window while finding rotation effect targets. There was a bug that the parent window of the alpha opaque window was not included in rotation effect. Change-Id: If88040e2bf2d606085c6e0df9142105d4d3f0a4c --- diff --git a/src/e_mod_effect_rotation.c b/src/e_mod_effect_rotation.c index df4581b..0df0f4e 100644 --- a/src/e_mod_effect_rotation.c +++ b/src/e_mod_effect_rotation.c @@ -140,7 +140,9 @@ _rotation_effect_targets_get(Rotation_Effect *effect) if (ec) { if (e_object_is_del(E_OBJECT(ec))) continue; - if (ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) continue; + if ((ec->visibility.obscured != E_VISIBILITY_UNOBSCURED) && + (ec->iconic)) + continue; if ((!ec->animatable) || (!_rotation_effect_available(ec, effect->zone->rot.curr)) || @@ -154,8 +156,14 @@ _rotation_effect_targets_get(Rotation_Effect *effect) l = eina_list_append(l, o); - if ((ec) && (ec->argb) && (ec->visibility.opaque <= 0)) - continue; + if ((ec) && (ec->argb)) + { + if (ec->visibility.opaque <= 0) continue; + else + { + if (ec->parent) continue; + } + } EINA_RECTANGLE_SET(&r, x, y, w + edge, h + edge); eina_tiler_rect_del(t, &r);