raster pushed a commit to branch efl-1.20. http://git.enlightenment.org/core/efl.git/commit/?id=4fc2babf5a95fc419a648825a95569fa622c654a
commit 4fc2babf5a95fc419a648825a95569fa622c654a Author: Mike Blumenkrantz <[email protected]> Date: Wed Jan 17 17:33:57 2018 -0500 efl-wl: propagate surface activation back to parent if child is hidden a toplevel child will always be stacked right above its parent @fix --- src/lib/efl_wl/efl_wl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index 0dd3e060ff..e0d7a0ddf3 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -2361,7 +2361,7 @@ comp_surface_smart_show(Evas_Object *obj) static void comp_surface_smart_hide(Evas_Object *obj) { - Comp_Surface *lcs, *cs = evas_object_smart_data_get(obj); + Comp_Surface *pcs = NULL, *lcs, *cs = evas_object_smart_data_get(obj); evas_object_hide(cs->clip); cs->mapped = 0; @@ -2386,9 +2386,11 @@ comp_surface_smart_hide(Evas_Object *obj) shell_surface_send_configure(lcs); return; } + if (!cs->parent->shell.popup) + pcs = cs->parent; } if (cs->c->seats) - comp_seats_redo_enter(cs->c, NULL); + comp_seats_redo_enter(cs->c, pcs); } static void --
