forked from enlightenment/enlightenment
Tiling2: Store extra on more windows, including ones in non-tiling desktops.
This commit is contained in:
parent
3294d8e562
commit
fe43bd7576
|
@ -455,11 +455,11 @@ _add_client(E_Client *ec)
|
|||
return;
|
||||
}
|
||||
|
||||
Client_Extra *extra = _get_or_create_client_extra(ec);
|
||||
|
||||
if (!desk_should_tile_check(ec->desk))
|
||||
return;
|
||||
|
||||
Client_Extra *extra = _get_or_create_client_extra(ec);
|
||||
|
||||
if (is_ignored_window(extra))
|
||||
return;
|
||||
|
||||
|
@ -996,9 +996,7 @@ _remove_hook(void *data EINA_UNUSED, int type EINA_UNUSED,
|
|||
if (e_client_util_ignored_get(ec))
|
||||
return ECORE_CALLBACK_RENEW;
|
||||
|
||||
if (!desk_should_tile_check(ec->desk))
|
||||
return true;
|
||||
|
||||
if (desk_should_tile_check(ec->desk))
|
||||
_remove_client(ec);
|
||||
|
||||
eina_hash_del(_G.client_extras, &ec, NULL);
|
||||
|
|
Loading…
Reference in New Issue