From 3a378f7cb11f6adc42c2633d005b40a8376fff39 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 24 Apr 2012 12:04:07 +0200 Subject: [PATCH] =?utf8?q?i3bar:=20don=E2=80=99t=20immediately=20redraw=20?= =?utf8?q?bars=20after=20kicking=20tray=20clients?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- i3bar/src/ipc.c | 2 ++ i3bar/src/xcb.c | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c index 2ebc4c64..41b8e151 100644 --- a/i3bar/src/ipc.c +++ b/i3bar/src/ipc.c @@ -70,6 +70,8 @@ void got_output_reply(char *reply) { SLIST_FOREACH(o_walk, outputs, slist) { kick_tray_clients(o_walk); } + + draw_bars(); } /* diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index c2cf6879..87926d33 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -1124,9 +1124,6 @@ void kick_tray_clients(i3_output *output) { * event afterwards, but better safe than sorry. */ TAILQ_REMOVE(output->trayclients, trayclient, tailq); } - - /* Trigger an update, we now have more space for the statusline */ - draw_bars(); } /* -- 2.39.5