discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5d4d03ca113821fb10e95ade323d3f1fb8cfa6cb

commit 5d4d03ca113821fb10e95ade323d3f1fb8cfa6cb
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Nov 12 17:31:27 2015 -0500

    do not add new deskmirror clients on desk_set event if client already exists
---
 src/bin/e_deskmirror.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index d385660..9c39756 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -686,7 +686,7 @@ _client_desk_set(E_Smart_Data *sd, int type EINA_UNUSED, 
E_Event_Client_Desk_Set
         if ((ev->desk == sd->desk) && (!ev->ec->sticky))
           eina_hash_del_by_key(sd->mirror_hash, &ev->ec->frame);
      }
-   if (sd->desk == ev->ec->desk)
+   if ((!m) && (sd->desk == ev->ec->desk))
      _e_deskmirror_mirror_add(sd, ev->ec->frame);
    return ECORE_CALLBACK_RENEW;
 }

-- 


Reply via email to