From 56e96ce294aed46a9803acafa8b526b9d9734f72 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 24 Mar 2016 16:40:47 -0400 Subject: [PATCH] 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 91f3ba961..af5b47934 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) {