From 1a29b28fa51e2cf3aac473a6a483773e2e594a5b Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Tue, 12 Jan 2021 08:43:12 +0100 Subject: [PATCH] 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(). --- i3bar/src/ipc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c index b3de145db..0e12eafa7 100644 --- a/i3bar/src/ipc.c +++ b/i3bar/src/ipc.c @@ -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); - } } /*