summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-11-12 17:31:27 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-12 17:31:27 -0500
commit846ff6c06882eba8cb19e46adfa94385cc871433 (patch)
treeece94a1b94e99da598e549ecebb93fda692e7918
parentf09e410285b724379742e5753b958cb3b51a75ad (diff)
do not add new deskmirror clients on desk_set event if client already exists
-rw-r--r--src/bin/e_deskmirror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index 297312724..890e6d835 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -720,7 +720,7 @@ _client_desk_set(E_Smart_Data *sd, int type EINA_UNUSED, E_Event_Client_Desk_Set
720 if (!e_client_util_desk_visible(ev->ec, sd->desk)) 720 if (!e_client_util_desk_visible(ev->ec, sd->desk))
721 eina_hash_del_by_key(sd->mirror_hash, &ev->ec->frame); 721 eina_hash_del_by_key(sd->mirror_hash, &ev->ec->frame);
722 } 722 }
723 if (sd->desk == ev->ec->desk) 723 if ((!m) && (sd->desk == ev->ec->desk))
724 _e_deskmirror_mirror_add(sd, ev->ec->frame); 724 _e_deskmirror_mirror_add(sd, ev->ec->frame);
725 return ECORE_CALLBACK_RENEW; 725 return ECORE_CALLBACK_RENEW;
726} 726}