From 779d8a835a0678727f410d96dae333f684e6e34d Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Mon, 11 Jul 2016 14:58:03 +0900 Subject: [PATCH] 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 --- src/e_mod_effect_rotation.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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); -- 2.7.4