From b640872edfeb713bb0d61b945b70f4b1ba6629f1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 27 Oct 2016 10:34:14 -0400 Subject: [PATCH] Revert "only find the session recovery remember if ec->remember is not it" This reverts commit 8e6188933651408f1822b1c5c9ef2cce8e19709f. --- src/bin/e_remember.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/bin/e_remember.c b/src/bin/e_remember.c index 6f5b60a44..21903544b 100644 --- a/src/bin/e_remember.c +++ b/src/bin/e_remember.c @@ -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;