From 1fd2c6ba498e61f4fe823bf552f9d2fce8612de4 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Mon, 2 Sep 2019 21:41:11 -0400 Subject: swaybar: complete barconfig_update event handling This adds complete support for the barconfig_update ipc event. This also changes the bar command and subcommand handlers to correctly emit the event. This makes it so all bar subcommands other than id and swaybar_command are dynamically changeable at runtime. sway-bar.5 has been updated accordingly --- sway/config/bar.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sway/config/bar.c') diff --git a/sway/config/bar.c b/sway/config/bar.c index 4ab98ff1..9c30204e 100644 --- a/sway/config/bar.c +++ b/sway/config/bar.c @@ -172,7 +172,6 @@ struct bar_config *default_bar_config(void) { wl_list_init(&bar->tray_bindings); #endif - list_add(config->bars, bar); return bar; cleanup: free_bar_config(bar); -- cgit v1.2.3-54-g00ecf