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 16:39:44 -0500
commitb7eba8af7b1c31d8718b19c5539746e2e4be8b54 (patch)
tree02507b43914019f8aed586ce189c3d82dae84605 /src/lib/efl_wl
parentefl-wl: send more mouse buttons to clients (diff)
downloadefl-b7eba8af7b1c31d8718b19c5539746e2e4be8b54.tar.gz
efl-wl: propagate surface activation back to parent if child is hidden
a toplevel child will always be stacked right above its parent @fix
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 6606e990e4..5f04eed930 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2398,7 +2398,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);
evas_object_hide(cs->clip);
cs->mapped = 0;
@@ -2426,9 +2426,11 @@ comp_surface_smart_hide(Evas_Object *obj)
shell_surface_send_configure(lcs);
return;
}
+ 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