Tiling: Allow changing tiling mode through key-binding from all desktops.
authorTom Hacohen <tom@stosb.com>
Tue, 6 May 2014 13:41:48 +0000 (14:41 +0100)
committerTom Hacohen <tom@stosb.com>
Tue, 6 May 2014 13:41:48 +0000 (14:41 +0100)
Without this it is impossible to change the tiling mode using the key binding
but you can still change it using the gadget which is stupid.

src/modules/tiling/e_mod_tiling.c

index 5a2426c..8fdfe6b 100644 (file)
@@ -827,15 +827,6 @@ static void
 _e_mod_action_toggle_split_mode(E_Object *obj EINA_UNUSED,
                                 const char *params EINA_UNUSED)
 {
-   E_Desk *desk;
-
-   desk = get_current_desk();
-   if (!desk)
-     return;
-
-   if (!desk_should_tile_check(desk))
-     return;
-
    _tiling_split_type_next();
 }