forked from enlightenment/enlightenment
Tiling2: Moved fullscreen check into 'is_tilable'.
This commit is contained in:
parent
091eeb2df4
commit
dd7c25b506
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue