From 8ec4f93a3a4c1f5f4ff820b0a24d929860d23b9f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sat, 22 Aug 2009 16:28:31 +0200 Subject: [PATCH] property: do not pop icon, client_set_icon does it Signed-off-by: Julien Danjou --- property.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/property.c b/property.c index 0054d350..16430fe2 100644 --- a/property.c +++ b/property.c @@ -418,19 +418,12 @@ property_update_net_wm_icon(client_t *c, if(reply) { if(ewmh_window_icon_from_reply(reply)) - { client_set_icon(globalconf.L, -2, -1); - /* remove icon */ - lua_pop(globalconf.L, 1); - } } else if(ewmh_window_icon_get_reply(ewmh_window_icon_get_unchecked(c->window))) - { client_set_icon(globalconf.L, -2, -1); - /* remove icon */ - lua_pop(globalconf.L, 1); - } + /* remove client */ lua_pop(globalconf.L, 1); }