discomfitor pushed a commit to branch enlightenment-0.22.

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

commit b1eff9a96bcc69e8a10cfed12be1f2d5afc5f6e2
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jan 22 14:18:03 2018 -0500

    block gadget site layouts on moving gadgets which are not on the pointer 
site
    
    these will be recalculated correctly once the move operation terminates
    
    fix T6623
---
 src/bin/e_gadget.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index 9fadc4735..956495058 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -929,7 +929,10 @@ _site_layout(Evas_Object *o, Evas_Object_Box_Data *priv 
EINA_UNUSED, void *data)
 
         if (!zgc->display) continue;
         if (zgc->moving)
-          _site_gadget_resize(zgc->gadget, w, h, &ww, &hh, &ow, &oh);
+          {
+             if (zgs->layout != pointer_site) continue;
+             _site_gadget_resize(zgc->gadget, w, h, &ww, &hh, &ow, &oh);
+          }
         else
           {
              if (zgc->zone >= 0)

-- 


Reply via email to