aboutsummaryrefslogtreecommitdiff
path: root/i3bar/src/ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'i3bar/src/ipc.c')
-rw-r--r--i3bar/src/ipc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c
index 95130209..f5bc507f 100644
--- a/i3bar/src/ipc.c
+++ b/i3bar/src/ipc.c
@@ -212,8 +212,9 @@ static void got_bar_config_update(const unsigned char *event, size_t size) {
sasprintf(&expected_id, "\"id\":\"%s\"", config.bar_id);
char *found_id = strstr((const char *)event, expected_id);
FREE(expected_id);
- if (found_id == NULL)
+ if (found_id == NULL) {
return;
+ }
/* reconfigure the bar based on the current outputs */
i3_send_msg(I3_IPC_MESSAGE_TYPE_GET_OUTPUTS, NULL);