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[] = {