forked from enlightenment/enlightenment
Revert "only find the session recovery remember if ec->remember is not it"
This reverts commit 8e61889336
.
This commit is contained in:
parent
98bc594299
commit
b640872edf
|
@ -867,17 +867,11 @@ _e_remember_find(E_Client *ec, int check_usable)
|
||||||
if ((check_usable) && (!e_remember_usable_get(rem)))
|
if ((check_usable) && (!e_remember_usable_get(rem)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ec->uuid)
|
if (!eina_streq(rem->uuid, ec->uuid)) continue;
|
||||||
|
if (rem->uuid)
|
||||||
{
|
{
|
||||||
if ((!ec->remember) || (!(ec->remember->apply & E_REMEMBER_APPLY_UUID)))
|
if (rem->pid != ec->netwm.pid) continue;
|
||||||
{
|
return rem;
|
||||||
if (!eina_streq(rem->uuid, ec->uuid)) continue;
|
|
||||||
if (rem->uuid)
|
|
||||||
{
|
|
||||||
if (rem->pid != ec->netwm.pid) continue;
|
|
||||||
return rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ec->netwm.name) title = ec->netwm.name;
|
if (ec->netwm.name) title = ec->netwm.name;
|
||||||
|
|
Loading…
Reference in New Issue