don't unfullscreen clients if:
authorMike Blumenkrantz <zmike@samsung.com>
Fri, 14 Feb 2014 20:08:23 +0000 (15:08 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Fri, 14 Feb 2014 20:08:23 +0000 (15:08 -0500)
* iconic

* hidden (desk flipped)

* not on current zone

T920

src/bin/e_client.c

index 6f5c0cc..7667c05 100644 (file)
@@ -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;