forked from enlightenment/enlightenment
Tiling2: Be more defensive about removing clients.
This will delete clients even in cases we didn't delete before.
This commit is contained in:
parent
507a6db1e1
commit
41ecdc1ebd
|
@ -464,14 +464,15 @@ _remove_client(E_Client *ec)
|
|||
if (!ec)
|
||||
return;
|
||||
|
||||
if (!is_tilable(ec))
|
||||
return;
|
||||
|
||||
DBG("removing %p", ec);
|
||||
|
||||
Client_Extra *extra = eina_hash_find(_G.client_extras, &ec);
|
||||
if (!extra) {
|
||||
if (!extra)
|
||||
{
|
||||
if (is_tilable(ec))
|
||||
{
|
||||
ERR("No extra for %p", ec);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue