Revert "only find the session recovery remember if ec->remember is not it"

This reverts commit 8e61889336.
This commit is contained in:
Mike Blumenkrantz 2016-10-27 10:34:14 -04:00
parent 98bc594299
commit b640872edf
1 changed files with 4 additions and 10 deletions

View File

@ -867,17 +867,11 @@ _e_remember_find(E_Client *ec, int check_usable)
if ((check_usable) && (!e_remember_usable_get(rem)))
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 (!eina_streq(rem->uuid, ec->uuid)) continue;
if (rem->uuid)
{
if (rem->pid != ec->netwm.pid) continue;
return rem;
}
}
if (rem->pid != ec->netwm.pid) continue;
return rem;
}
if (ec->netwm.name) title = ec->netwm.name;