aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/bar/gaps.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/bar/gaps.c')
-rw-r--r--sway/commands/bar/gaps.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/commands/bar/gaps.c b/sway/commands/bar/gaps.c
index 83480fb5..f99966b4 100644
--- a/sway/commands/bar/gaps.c
+++ b/sway/commands/bar/gaps.c
@@ -13,9 +13,6 @@ struct cmd_results *bar_cmd_gaps(int argc, char **argv) {
if ((error = checkarg(argc, "gaps", EXPECTED_AT_MOST, 4))) {
return error;
}
- if (!config->current_bar) {
- return cmd_results_new(CMD_FAILURE, "No bar defined.");
- }
int top = 0, right = 0, bottom = 0, left = 0;