diff options
Diffstat (limited to 'sway/commands/bar/tray_bind.c')
-rw-r--r-- | sway/commands/bar/tray_bind.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/commands/bar/tray_bind.c b/sway/commands/bar/tray_bind.c index 7fe67c42..c910d106 100644 --- a/sway/commands/bar/tray_bind.c +++ b/sway/commands/bar/tray_bind.c @@ -12,9 +12,6 @@ static struct cmd_results *tray_bind(int argc, char **argv, bool code) { if ((error = checkarg(argc, command, EXPECTED_EQUAL_TO, 2))) { return error; } - if (!config->current_bar) { - return cmd_results_new(CMD_FAILURE, "No bar defined."); - } struct tray_binding *binding = calloc(1, sizeof(struct tray_binding)); if (!binding) { |