Refresh the workspace-list on output-events

This commit is contained in:
Axel Wagner 2010-08-06 05:52:01 +02:00
parent a4b1e0d01a
commit 55047c1633
1 changed files with 1 additions and 0 deletions

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