discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=cea551578c487c4182e2f5e06f9238ce851b64f1

commit cea551578c487c4182e2f5e06f9238ce851b64f1
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Nov 1 11:01:43 2016 -0400

    do not apply efx anchoring to move effects if a resize effect is not active
    
    this is useless without an animator
    
    fix T4810
---
 src/bin/efx/efx_resize.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/efx/efx_resize.c b/src/bin/efx/efx_resize.c
index ee07505..33a1a0d 100644
--- a/src/bin/efx/efx_resize.c
+++ b/src/bin/efx/efx_resize.c
@@ -124,7 +124,7 @@ _e_efx_resize_adjust(E_EFX *e, int *ax, int *ay)
    E_Efx_Resize_Data *erd = e->resize_data;
    int x, y, w, h;
 
-   if (!erd) return;
+   if ((!erd) || (!erd->anim)) return;
    if (e->move_data)
      x = e->x, y = e->y;
    else

-- 


Reply via email to