raster pushed a commit to branch enlightenment-0.24.

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

commit 6a3648a5fdd621897f53b8ece5d95c6bb7b9dfec
Author: Marcel Hollerbach <[email protected]>
Date:   Tue Jul 21 14:16:43 2020 +0200

    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))

-- 


Reply via email to