forked from enlightenment/enlightenment
abort gadget site layouts if the gadget site has not been sized
this triggers infinite loops, and a resize on the site will trigger a layout automatically
This commit is contained in:
parent
3e982446ec
commit
9eed5f49a8
|
@ -702,6 +702,7 @@ _site_layout(Evas_Object *o, Evas_Object_Box_Data *priv EINA_UNUSED, void *data)
|
|||
E_Gadget_Config *zgc;
|
||||
|
||||
evas_object_geometry_get(o, &x, &y, &w, &h);
|
||||
if ((!w) || (!h)) return;
|
||||
evas_object_geometry_set(zgs->events, x, y, w, h);
|
||||
|
||||
evas_object_box_align_get(o, &ax, &ay);
|
||||
|
|
Loading…
Reference in New Issue