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
commit742e20a002ca44f8d2b700b1379b3290436d728f (patch)
tree543ef351e6e325c06c371dd12dacf8500dac2c2f /src/lib/efl_wl
parentRevert "efl loop - provide efl namespace versions of begin/end locks on mainl... (diff)
downloadefl-742e20a002ca44f8d2b700b1379b3290436d728f.tar.gz
efl-wl: split case for toplevel vs popup during surface hide activate propagation
this should have no functional differences due to spec, but make sure it reads more clearly
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 814e3cbe2f..cbfc4cc94d 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -2411,8 +2411,11 @@ comp_surface_smart_hide(Evas_Object *obj)
if (!evas_object_visible_get(lcs->obj)) continue;
if ((!lcs->shell.surface) || (!lcs->role)) continue;
lcs->shell.activated = 1;
- if (lcs->shell.popup && (!lcs->extracted))
- evas_object_raise(lcs->obj);
+ if (lcs->shell.popup)
+ {
+ if (!lcs->extracted)
+ evas_object_raise(lcs->obj);
+ }
else
shell_surface_send_configure(lcs);
return;