tasn pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f3d0f73cf6125c02d68c3e6350678e02d6c356da

commit f3d0f73cf6125c02d68c3e6350678e02d6c356da
Author: Tom Hacohen <[email protected]>
Date:   Tue May 6 14:38:44 2014 +0100

    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.
---
 src/modules/tiling/e_mod_tiling.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/modules/tiling/e_mod_tiling.c 
b/src/modules/tiling/e_mod_tiling.c
index bcd691d..5a2426c 100644
--- a/src/modules/tiling/e_mod_tiling.c
+++ b/src/modules/tiling/e_mod_tiling.c
@@ -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;
 

-- 


Reply via email to