From 9ccf88e326858363a14a6e38e68ace635d07e82c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 17 Jan 2018 17:33:57 -0500 Subject: [PATCH] efl-wl: ensure parent surface is mapped before attempting to revert activation --- src/lib/efl_wl/efl_wl.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c index f5da388de4..d990bc90b5 100644 --- a/src/lib/efl_wl/efl_wl.c +++ b/src/lib/efl_wl/efl_wl.c @@ -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);