]> git.sur5r.net Git - i3/i3/blobdiff - src/ipc.c
Change the names of parser result structs
[i3/i3] / src / ipc.c
index 66c63f78f376f6df9854403ab4a74e72d0cefabe..c3b82b519a07820d2367a01d092c4eaa1e55cea9 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -117,7 +117,7 @@ IPC_HANDLER(command) {
     char *command = scalloc(message_size + 1);
     strncpy(command, (const char*)message, message_size);
     LOG("IPC: received: *%s*\n", command);
-    struct CommandResult *command_output = parse_command((const char*)command);
+    struct CommandResultIR *command_output = parse_command((const char*)command);
     free(command);
 
     if (command_output->needs_tree_render)
@@ -514,6 +514,9 @@ static void dump_bar_config(yajl_gen gen, Barconfig *config) {
     ystr("workspace_buttons");
     y(bool, !config->hide_workspace_buttons);
 
+    ystr("strip_workspace_numbers");
+    y(bool, config->strip_workspace_numbers);
+
     ystr("binding_mode_indicator");
     y(bool, !config->hide_binding_mode_indicator);