From c826fc0e44c2fccb5ffc4c70c761cdf6807e9920 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ingo=20B=C3=BCrk?= Date: Tue, 2 May 2017 09:11:35 +0200 Subject: [PATCH] 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 --- i3bar/src/ipc.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.39.5