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,16 +464,17 @@ _remove_client(E_Client *ec)
|
||||||
if (!ec)
|
if (!ec)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!is_tilable(ec))
|
|
||||||
return;
|
|
||||||
|
|
||||||
DBG("removing %p", ec);
|
DBG("removing %p", ec);
|
||||||
|
|
||||||
Client_Extra *extra = eina_hash_find(_G.client_extras, &ec);
|
Client_Extra *extra = eina_hash_find(_G.client_extras, &ec);
|
||||||
if (!extra) {
|
if (!extra)
|
||||||
ERR("No extra for %p", ec);
|
{
|
||||||
return;
|
if (is_tilable(ec))
|
||||||
}
|
{
|
||||||
|
ERR("No extra for %p", ec);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
extra->tiled = EINA_FALSE;
|
extra->tiled = EINA_FALSE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue