mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
swaybar: do not create tray if hidden
This commit is contained in:
parent
2fd41fe9c8
commit
f33b5c5223
4 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue