From e168e8f0ffbcd3924570aec63655c6ca0ab384fa Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Mon, 8 Oct 2018 21:18:30 +1000 Subject: Don't apply seat config when validating --- sway/commands/seat/fallback.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sway/commands/seat/fallback.c') diff --git a/sway/commands/seat/fallback.c b/sway/commands/seat/fallback.c index 56feaab5..11f5a08c 100644 --- a/sway/commands/seat/fallback.c +++ b/sway/commands/seat/fallback.c @@ -27,6 +27,8 @@ struct cmd_results *seat_cmd_fallback(int argc, char **argv) { "Expected 'fallback '"); } - apply_seat_config(new_config); + if (!config->validating) { + apply_seat_config(new_config); + } return cmd_results_new(CMD_SUCCESS, NULL, NULL); } -- cgit v1.2.3