Revert "tiling - avoid infinite loop of not fit - toggle float, not fit, toggle"

This reverts commit 265c306874.

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.
This commit is contained in:
Marcel Hollerbach 2020-07-21 14:16:43 +02:00 committed by Carsten Haitzler (Rasterman)
parent d311403947
commit 6a3648a5fd
1 changed files with 0 additions and 5 deletions

View File

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