zmike pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b631aae420f269dc68e089604d3b8ae73790efd6
commit b631aae420f269dc68e089604d3b8ae73790efd6 Author: Mike Blumenkrantz <zm...@samsung.com> Date: Thu Mar 19 12:06:18 2020 -0400 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 --- src/lib/efl_canvas_wl/efl_canvas_wl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/efl_canvas_wl/efl_canvas_wl.c b/src/lib/efl_canvas_wl/efl_canvas_wl.c index 521e41d191..23413110ef 100644 --- a/src/lib/efl_canvas_wl/efl_canvas_wl.c +++ b/src/lib/efl_canvas_wl/efl_canvas_wl.c @@ -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 = --