From dd7c25b506d3dc82d7ac2d340fb0f863bc5e0a82 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 13 Jan 2014 17:23:33 +0000 Subject: [PATCH] Tiling2: Moved fullscreen check into 'is_tilable'. --- src/modules/tiling/e_mod_tiling.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 3f31d74..8f292dc 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -198,6 +198,10 @@ is_tilable(const E_Client *ec) || (ec->netwm.type == E_WINDOW_TYPE_DIALOG))) return false; + if (ec->fullscreen) { + return false; + } + return true; } @@ -481,9 +485,6 @@ _add_client(E_Client *ec) if (!is_tilable(ec)) { return; } - if (ec->fullscreen) { - return; - } if (!_G.tinfo || !_G.tinfo->conf || !_G.tinfo->conf->nb_stacks) { return; @@ -645,10 +646,6 @@ _pre_client_assign_hook(void *data __UNUSED__, return; } - if (ec->fullscreen) { - return; - } - /* Fill initial values if not already done */ _get_or_create_client_extra(ec); -- 2.7.4