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
This commit is contained in:
Ingo Bürk 2017-05-02 09:11:35 +02:00 committed by Michael Stapelberg
parent d78fd8d91f
commit c826fc0e44
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}