From f9c0e9c38d540ae0907799a0da78ba55d4d018d3 Mon Sep 17 00:00:00 2001 From: Mikkel Oscar Lyderik Date: Sat, 30 Apr 2016 15:25:36 +0200 Subject: [PATCH] Remove unused verbose flag in bar config --- include/config.h | 1 - sway/config.c | 1 - sway/ipc-server.c | 1 - 3 files changed, 3 deletions(-) diff --git a/include/config.h b/include/config.h index 37b97665..acb58ee3 100644 --- a/include/config.h +++ b/include/config.h @@ -125,7 +125,6 @@ struct bar_config { char *separator_symbol; bool strip_workspace_numbers; bool binding_mode_indicator; - bool verbose; pid_t pid; struct { char background[10]; diff --git a/sway/config.c b/sway/config.c index b3b743c3..f520cc88 100644 --- a/sway/config.c +++ b/sway/config.c @@ -1035,7 +1035,6 @@ struct bar_config *default_bar_config(void) { bar->strip_workspace_numbers = false; bar->binding_mode_indicator = true; bar->tray_padding = 2; - bar->verbose = false; bar->pid = 0; // set default colors strcpy(bar->colors.background, "#000000ff"); diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 4d9264e8..e9b79a1a 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -599,7 +599,6 @@ json_object *ipc_json_describe_bar_config(struct bar_config *bar) { json_object_object_add(json, "workspace_buttons", json_object_new_boolean(bar->workspace_buttons)); json_object_object_add(json, "strip_workspace_numbers", json_object_new_boolean(bar->strip_workspace_numbers)); json_object_object_add(json, "binding_mode_indicator", json_object_new_boolean(bar->binding_mode_indicator)); - json_object_object_add(json, "verbose", json_object_new_boolean(bar->verbose)); json_object_object_add(json, "pango_markup", json_object_new_boolean(bar->pango_markup)); json_object *colors = json_object_new_object();