set moving gadgets in pointer site to have moving state

prevent spurious resizes during layout
This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:04 -04:00
parent 673195a6ac
commit 9dac9c7946
1 changed files with 1 additions and 0 deletions

View File

@ -726,6 +726,7 @@ _gadget_act_move(E_Object *obj, const char *params EINA_UNUSED, E_Binding_Event_
ZGS_GET(pointer_site);
_gadget_util_add(zgs, zgc->type, zgc->id);
z = eina_list_data_get(zgs->gadgets);
z->moving = 1;
evas_object_geometry_get(g, NULL, NULL, &w, &h);
evas_object_resize(pointer_site, w, h);
eina_stringshare_refplace(&z->style.name, zgc->style.name);