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:
Tom Hacohen 2014-05-06 14:38:44 +01:00
parent 938dee1e3b
commit f3d0f73cf6
1 changed files with 3 additions and 3 deletions

View File

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