discomfitor pushed a commit to branch enlightenment-0.20.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=56e96ce294aed46a9803acafa8b526b9d9734f72

commit 56e96ce294aed46a9803acafa8b526b9d9734f72
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Mar 24 16:40:47 2016 -0400

    do not set initial changed state for new clients if they are ignored
    
    this loops the client idler for no reason
---
 src/bin/e_client.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 91f3ba9..af5b479 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2583,13 +2583,14 @@ e_client_new(E_Pixmap *cp, int first_map, int internal)
    ec->netwm.action.close = 0;
    ec->netwm.opacity = 255;
 
-   EC_CHANGED(ec);
-
    e_comp->clients = eina_list_append(e_comp->clients, ec);
    eina_hash_add(clients_hash[e_pixmap_type_get(cp)], &ec->pixmap, ec);
 
    if (!ec->ignored)
-     _e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
+     {
+        EC_CHANGED(ec);
+        _e_client_event_simple(ec, E_EVENT_CLIENT_ADD);
+     }
    e_comp_object_client_add(ec);
    if (ec->frame)
      {

-- 


Reply via email to