discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9ccf88e326858363a14a6e38e68ace635d07e82c

commit 9ccf88e326858363a14a6e38e68ace635d07e82c
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Wed Jan 17 17:33:57 2018 -0500

    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);

-- 


Reply via email to