From 1a697d10ae3dbf9122c12a31f15e06cc5d08b60b Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Thu, 10 Dec 2015 14:49:38 +0900 Subject: [PATCH] quick_init: clear changes value for icon Change-Id: I2f3d7cc4c00da1bdca54a020440d4833a9957da1 --- src/bin/e_client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 0e651fb..03071d4 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -2410,9 +2410,9 @@ _e_client_eval(E_Client *ec) _e_client_event_simple(ec, E_EVENT_CLIENT_HIDE); } -#ifndef ENABLE_QUICK_INIT if (ec->changes.icon) { +#ifndef ENABLE_QUICK_INIT if (!ec->new_client) E_FREE_FUNC(ec->desktop, efreet_desktop_free); if (ec->remember && ec->remember->prop.desktop_file) @@ -2503,8 +2503,10 @@ _e_client_eval(E_Client *ec) e_exec_phony(ec); ec->changes.icon = 0; prop |= E_CLIENT_PROPERTY_ICON; - } +#else + ec->changes.icon = 0; #endif + } ec->new_client = 0; ec->comp->new_clients--; -- 2.7.4