rotation: exclude client that is placed out of screen from a list of rotation effect. 40/101640/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 1 Dec 2016 23:50:35 +0000 (08:50 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 1 Dec 2016 23:50:35 +0000 (08:50 +0900)
Change-Id: I8be77e762f4e954f40b9709e05d18fe808528315

src/e_mod_effect_rotation.c

index a32ae7e..b3bd57b 100644 (file)
@@ -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;