From: Axel Wagner Date: Fri, 6 Aug 2010 03:52:01 +0000 (+0200) Subject: Refresh the workspace-list on output-events X-Git-Tag: 4.0.1~7^2~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=55047c1633736e44cc6538e03af77c87a15ebf42;p=i3%2Fi3 Refresh the workspace-list on output-events --- diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c index 271cd339..83ae4cec 100644 --- a/i3bar/src/ipc.c +++ b/i3bar/src/ipc.c @@ -68,6 +68,7 @@ void got_workspace_event(char *event) { void got_output_event(char *event) { printf("Got Output Event!\n"); i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL); + i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_WORKSPACES, NULL); } handler_t event_handlers[] = {