Tiling2: Moved fullscreen check into 'is_tilable'.

This commit is contained in:
Tom Hacohen 2014-01-13 17:23:33 +00:00
parent 091eeb2df4
commit dd7c25b506
1 changed files with 4 additions and 7 deletions

View File

@ -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);