aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:33:57 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-17 17:03:48 -0500
commit9ccf88e326858363a14a6e38e68ace635d07e82c (patch)
tree6e5ee6c4f18e660c5fb571e4b463cd16d29c9c60 /src/lib/efl_wl
parentefl-wl: immediately unset a destroyed surface's cursor (diff)
downloadefl-9ccf88e326858363a14a6e38e68ace635d07e82c.tar.gz
efl-wl: ensure parent surface is mapped before attempting to revert activation
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c5
1 files changed, 4 insertions, 1 deletions
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);