discomfitor pushed a commit to branch enlightenment-0.21.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=513b095a324a32b3877b56e82bc32152da848815

commit 513b095a324a32b3877b56e82bc32152da848815
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Oct 20 12:13:22 2016 -0400

    only find the session recovery remember if ec->remember is not it
    
    ref T4512
---
 src/bin/e_remember.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/src/bin/e_remember.c b/src/bin/e_remember.c
index 2190354..6f5b60a 100644
--- a/src/bin/e_remember.c
+++ b/src/bin/e_remember.c
@@ -867,11 +867,17 @@ _e_remember_find(E_Client *ec, int check_usable)
         if ((check_usable) && (!e_remember_usable_get(rem)))
           continue;
 
-        if (!eina_streq(rem->uuid, ec->uuid)) continue;
-        if (rem->uuid)
+        if (ec->uuid)
           {
-             if (rem->pid != ec->netwm.pid) continue;
-             return rem;
+             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 (ec->netwm.name) title = ec->netwm.name;

-- 


Reply via email to