summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-05-06 14:38:44 +0100
committerTom Hacohen <tom@stosb.com>2014-05-06 14:38:44 +0100
commitf3d0f73cf6125c02d68c3e6350678e02d6c356da (patch)
treee74bc9a217e791ffe1bd6c7b792e6cbd6ccf4570
parent938dee1e3bd42ac29b73cd42421bd022e7e6de0f (diff)
downloadenlightenment-f3d0f73cf6125c02d68c3e6350678e02d6c356da.tar.gz
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.
-rw-r--r--src/modules/tiling/e_mod_tiling.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c
index bcd691d856..5a2426c98e 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;