]> git.sur5r.net Git - i3/i3/commitdiff
Refresh the workspace-list on output-events
authorAxel Wagner <mail@merovius.de>
Fri, 6 Aug 2010 03:52:01 +0000 (05:52 +0200)
committerAxel Wagner <mail@merovius.de>
Fri, 6 Aug 2010 03:52:01 +0000 (05:52 +0200)
i3bar/src/ipc.c

index 271cd3398f7fd6ca9de6cc9d1772be22e2cab018..83ae4cec58b6f3822d9c7d8a52d6d06823fdfc79 100644 (file)
@@ -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[] = {