efl-wl: ensure parent surface is mapped before attempting to revert activation

This commit is contained in:
Mike Blumenkrantz 2018-01-17 17:33:57 -05:00
parent beb430a00b
commit 9ccf88e326
1 changed files with 4 additions and 1 deletions

View File

@ -2490,7 +2490,10 @@ comp_surface_smart_hide(Evas_Object *obj)
return;
}
if (!cs->parent->shell.popup)
pcs = cs->parent;
{
pcs = cs->parent;
if (!pcs->mapped) pcs = NULL;
}
}
if (cs->c->seats)
comp_seats_redo_enter(cs->c, pcs);