aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/seat/attach.c')
-rw-r--r--sway/commands/seat/attach.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/commands/seat/attach.c b/sway/commands/seat/attach.c
index 3e771c00..6b4bcf1f 100644
--- a/sway/commands/seat/attach.c
+++ b/sway/commands/seat/attach.c
@@ -23,6 +23,8 @@ struct cmd_results *seat_cmd_attach(int argc, char **argv) {
23 new_attachment->identifier = strdup(argv[0]); 23 new_attachment->identifier = strdup(argv[0]);
24 list_add(new_config->attachments, new_attachment); 24 list_add(new_config->attachments, new_attachment);
25 25
26 apply_seat_config(new_config); 26 if (!config->validating) {
27 apply_seat_config(new_config);
28 }
27 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 29 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
28} 30}