From 48247416a53d9d39ae96215363347439ec32993d Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Tue, 21 Jul 2020 14:16:43 +0200 Subject: [PATCH] Revert "tiling - avoid infinite loop of not fit - toggle float, not fit, toggle" This reverts commit 265c3068740529990a2ab14477db20e773b149d4. This is somehow the wrong way of doing that. Next commit will bring protection against multiple recursive window_tree_apply calls. Additionally, we should prepare to *not* accidently tile a window that has been previously untiled. --- src/modules/tiling/e_mod_tiling.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/tiling/e_mod_tiling.c b/src/modules/tiling/e_mod_tiling.c index 7f81070fc..fba3f1a8e 100644 --- a/src/modules/tiling/e_mod_tiling.c +++ b/src/modules/tiling/e_mod_tiling.c @@ -46,7 +46,6 @@ typedef struct Client_Extra Eina_Bool floating E_BITFIELD; Eina_Bool tiled E_BITFIELD; Eina_Bool tracked E_BITFIELD; - Eina_Bool being_removed E_BITFIELD; } Client_Extra; typedef struct _Instance @@ -796,8 +795,6 @@ _client_remove_no_apply(E_Client *ec) return EINA_FALSE; } - extra->being_removed = EINA_TRUE; - if (extra->drag.drag) { _client_drag_terminate(ec); @@ -845,8 +842,6 @@ toggle_floating(E_Client *ec) return; } - if (extra->being_removed) return; - extra->floating = !extra->floating; if (!desk_should_tile_check(ec->desk))