diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 17:33:57 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2018-01-17 16:39:44 -0500 |
commit | 742e20a002ca44f8d2b700b1379b3290436d728f (patch) | |
tree | 543ef351e6e325c06c371dd12dacf8500dac2c2f /src/lib/efl_wl/efl_wl.c | |
parent | 20605953f5b11f81589ed28a6a1bc2b3d1b0596f (diff) |
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 '')
-rw-r--r-- | src/lib/efl_wl/efl_wl.c | 7 |
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) | |||
2411 | if (!evas_object_visible_get(lcs->obj)) continue; | 2411 | if (!evas_object_visible_get(lcs->obj)) continue; |
2412 | if ((!lcs->shell.surface) || (!lcs->role)) continue; | 2412 | if ((!lcs->shell.surface) || (!lcs->role)) continue; |
2413 | lcs->shell.activated = 1; | 2413 | lcs->shell.activated = 1; |
2414 | if (lcs->shell.popup && (!lcs->extracted)) | 2414 | if (lcs->shell.popup) |
2415 | evas_object_raise(lcs->obj); | 2415 | { |
2416 | if (!lcs->extracted) | ||
2417 | evas_object_raise(lcs->obj); | ||
2418 | } | ||
2416 | else | 2419 | else |
2417 | shell_surface_send_configure(lcs); | 2420 | shell_surface_send_configure(lcs); |
2418 | return; | 2421 | return; |