rotation: consider the transient parent window while finding rotation effect targets. 68/79368/1 accepted/tizen/common/20160712.150419 accepted/tizen/ivi/20160711.235619 accepted/tizen/mobile/20160711.235402 accepted/tizen/tv/20160711.235534 accepted/tizen/wearable/20160711.235424 submit/tizen/20160711.070536
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 11 Jul 2016 05:58:03 +0000 (14:58 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Mon, 11 Jul 2016 05:58:03 +0000 (14:58 +0900)
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

index df4581b..0df0f4e 100644 (file)
@@ -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);