Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
i3bar: No reason to get_workspaces after output event
Browse files Browse the repository at this point in the history
got_output_reply() requests this information anyway and if it is
received before the output reply, the information will be erased by
get_output_reply().
  • Loading branch information
orestisfl committed Jan 12, 2021
1 parent 6e0b29a commit 1a29b28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions i3bar/src/ipc.c
Expand Up @@ -155,9 +155,6 @@ static void got_workspace_event(char *event) {
static void got_output_event(char *event) {
DLOG("Got output event!\n");
i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL);
if (!config.disable_ws) {
i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_WORKSPACES, NULL);
}
}

/*
Expand Down

0 comments on commit 1a29b28

Please sign in to comment.