Commit 4fc2babf authored by Mike Blumenkrantz's avatar Mike Blumenkrantz Committed by Carsten Haitzler (Rasterman)

efl-wl: propagate surface activation back to parent if child is hidden

a toplevel child will always be stacked right above its parent

parent fc9b3b81
......@@ -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);
cs->mapped = 0;
......@@ -2386,9 +2386,11 @@ comp_surface_smart_hide(Evas_Object *obj)
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment