aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 14:18:03 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-22 11:17:54 -0500
commit7f649d078be14a47a66cee2c75097c579d10ccbc (patch)
treeac1aba889f335727926c3d2433ff9175f600729b
parentfix some crashes with start gadget deletion (diff)
downloadenlightenment-7f649d078be14a47a66cee2c75097c579d10ccbc.tar.gz
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 https://phab.enlightenment.org/T6623
-rw-r--r--src/bin/e_gadget.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_gadget.c b/src/bin/e_gadget.c
index 49c8a868d..db6d550fc 100644
--- a/src/bin/e_gadget.c
+++ b/src/bin/e_gadget.c
@@ -936,7 +936,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)