From e6fa8f31765bd20b9156edd0ca3bc6559e9aec86 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Feb 2014 15:08:23 -0500 Subject: [PATCH] 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 6f5c0cc84..7667c055d 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;