discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=742e20a002ca44f8d2b700b1379b3290436d728f

commit 742e20a002ca44f8d2b700b1379b3290436d728f
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Jan 17 17:33:57 2018 -0500

    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
---
 src/lib/efl_wl/efl_wl.c | 7 +++++--
 1 file 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;

-- 


Reply via email to