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)))
|
|| (ec->netwm.type == E_WINDOW_TYPE_DIALOG)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (ec->fullscreen) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -481,9 +485,6 @@ _add_client(E_Client *ec)
|
||||||
if (!is_tilable(ec)) {
|
if (!is_tilable(ec)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (ec->fullscreen) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!_G.tinfo || !_G.tinfo->conf || !_G.tinfo->conf->nb_stacks) {
|
if (!_G.tinfo || !_G.tinfo->conf || !_G.tinfo->conf->nb_stacks) {
|
||||||
return;
|
return;
|
||||||
|
@ -645,10 +646,6 @@ _pre_client_assign_hook(void *data __UNUSED__,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ec->fullscreen) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Fill initial values if not already done */
|
/* Fill initial values if not already done */
|
||||||
_get_or_create_client_extra(ec);
|
_get_or_create_client_extra(ec);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue