diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-09-02 21:41:11 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-04 16:48:50 -1000 |
commit | 1fd2c6ba498e61f4fe823bf552f9d2fce8612de4 (patch) | |
tree | 8e2d9adab3451f1f05c76340d466a442c840e558 /sway/config | |
parent | seatop_default: only focus container on press (diff) | |
download | sway-1fd2c6ba498e61f4fe823bf552f9d2fce8612de4.tar.gz sway-1fd2c6ba498e61f4fe823bf552f9d2fce8612de4.tar.zst sway-1fd2c6ba498e61f4fe823bf552f9d2fce8612de4.zip |
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
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/bar.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) { | |||
172 | wl_list_init(&bar->tray_bindings); | 172 | wl_list_init(&bar->tray_bindings); |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | list_add(config->bars, bar); | ||
176 | return bar; | 175 | return bar; |
177 | cleanup: | 176 | cleanup: |
178 | free_bar_config(bar); | 177 | free_bar_config(bar); |