reject client fullscreening based on config and desk visibility
This commit is contained in:
parent
40fc1c0496
commit
2b1b6def72
|
@ -3861,6 +3861,7 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
|
||||||
if (!ec->zone) return;
|
if (!ec->zone) return;
|
||||||
|
|
||||||
if ((ec->shaded) || (ec->shading) || ec->fullscreen) return;
|
if ((ec->shaded) || (ec->shading) || ec->fullscreen) return;
|
||||||
|
if ((!e_config->allow_above_fullscreen) && (!ec->desk->visible)) return;
|
||||||
if (ec->new_client)
|
if (ec->new_client)
|
||||||
{
|
{
|
||||||
ec->need_fullscreen = 1;
|
ec->need_fullscreen = 1;
|
||||||
|
|
Loading…
Reference in New Issue