discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=e6fa8f31765bd20b9156edd0ca3bc6559e9aec86

commit e6fa8f31765bd20b9156edd0ca3bc6559e9aec86
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Fri Feb 14 15:08:23 2014 -0500

    don't unfullscreen clients if:
    
    * iconic
    
    * hidden (desk flipped)
    
    * not on current zone
    
    T920
---
 src/bin/e_client.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 6f5c0cc..7667c05 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3109,7 +3109,8 @@ e_client_focused_set(E_Client *ec)
 
         /* if there unfocus client is fullscreen and visible */
         if ((!e_config->allow_above_fullscreen) &&
-            (ec_unfocus->fullscreen) &&
+            (ec_unfocus->fullscreen) && (!ec_unfocus->iconic) && 
(!ec_unfocus->hidden) &&
+            (ec_unfocus->zone == e_zone_current_get(ec_unfocus->comp)) &&
             ((ec_unfocus->desk == e_desk_current_get(ec_unfocus->zone)) || 
(ec_unfocus->sticky)))
           {
              Eina_Bool have_vis_child = EINA_FALSE;

-- 


Reply via email to