diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-12-11 16:27:39 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-31 20:40:18 +0000 |
commit | f33b5c5223a3eb8b63ff4361f43b82ad2104e84b (patch) | |
tree | 191bb88354f56ac4f3ccc4740ebad05c5d42bff5 /sway | |
parent | 2fd41fe9c85a866173fc2770ed7669871258bced (diff) |
swaybar: do not create tray if hidden
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/bar/tray_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/bar/tray_output.c b/sway/commands/bar/tray_output.c index 19ecc5c1..a1169c20 100644 --- a/sway/commands/bar/tray_output.c +++ b/sway/commands/bar/tray_output.c @@ -31,8 +31,8 @@ struct cmd_results *bar_cmd_tray_output(int argc, char **argv) { } else { wlr_log(WLR_DEBUG, "Showing tray on output '%s' for bar: %s", argv[0], config->current_bar->id); - list_add(outputs, strdup(argv[0])); } + list_add(outputs, strdup(argv[0])); return cmd_results_new(CMD_SUCCESS, NULL, NULL); #else |