forked from enlightenment/efl
efl/wl: auto-unset weight if popups provide a size in their positioner
Summary: we "sometimes" set this to EXPAND,EXPAND in the base efl object constructor, so we need to unset that in this case Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11543
This commit is contained in:
parent
33d17369ac
commit
b631aae420
|
@ -983,7 +983,12 @@ _apply_positioner(Comp_Surface *cs, Shell_Positioner *sp)
|
|||
h = zy + zh - y;
|
||||
}
|
||||
evas_object_move(cs->obj, zx + x, zy + y);
|
||||
if (w > 0) evas_object_resize(cs->obj, w, h);
|
||||
if (w > 0)
|
||||
{
|
||||
if (!cs->hint_set_weight)
|
||||
evas_object_size_hint_weight_set(cs->obj, 0, 0);
|
||||
evas_object_resize(cs->obj, w, h);
|
||||
}
|
||||
}
|
||||
|
||||
static const struct wl_data_offer_interface data_device_offer_interface =
|
||||
|
|
Loading…
Reference in New Issue