forked from enlightenment/enlightenment
Tiling: Fix toggle floating mode for untiled window.
This is useful in case they are going to become tiled, e.g maximized or just from another desktop.
This commit is contained in:
parent
938dee1e3b
commit
f3d0f73cf6
|
@ -375,9 +375,6 @@ tiling_entry_no_desk_func(E_Client *ec)
|
|||
if (!ec)
|
||||
return NULL;
|
||||
|
||||
if (!is_tilable(ec))
|
||||
return NULL;
|
||||
|
||||
Client_Extra *extra = eina_hash_find(_G.client_extras, &ec);
|
||||
|
||||
if (!extra)
|
||||
|
@ -394,6 +391,9 @@ tiling_entry_func(E_Client *ec)
|
|||
if (!extra)
|
||||
return NULL;
|
||||
|
||||
if (!is_tilable(ec))
|
||||
return NULL;
|
||||
|
||||
if (!desk_should_tile_check(ec->desk))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue