i3bar: No reason to get_workspaces after output event

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().
This commit is contained in:
Orestis Floros 2021-01-12 08:43:12 +01:00
parent 6e0b29a65b
commit 1a29b28fa5
No known key found for this signature in database
GPG Key ID: A09DBD7D3222C1C3

View File

@ -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);
}
}
/*