From: Ingo Bürk Date: Tue, 2 May 2017 07:11:35 +0000 (+0200) Subject: Query workspaces again in i3bar when an output change occured. (#2760) X-Git-Tag: 4.14~41 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c826fc0e44c2fccb5ffc4c70c761cdf6807e9920;p=i3%2Fi3 Query workspaces again in i3bar when an output change occured. (#2760) As of 2f0f8b1, i3bar will properly clean up on output change events. However, this requires us to query the workspaces again to avoid a display error in i3bar. fixes #2740 fixes #2743 --- diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c index 459684ef..042e230a 100644 --- a/i3bar/src/ipc.c +++ b/i3bar/src/ipc.c @@ -79,6 +79,10 @@ void got_output_reply(char *reply) { kick_tray_clients(o_walk); } + if (!config.disable_ws) { + i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_WORKSPACES, NULL); + } + draw_bars(false); }