aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/seat.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c
index 3e7ffed9..b8db862b 100644
--- a/sway/commands/seat.c
+++ b/sway/commands/seat.c
@@ -35,7 +35,9 @@ struct cmd_results *cmd_seat(int argc, char **argv) {
struct seat_config *sc =
store_seat_config(config->handler_context.seat_config);
- input_manager_apply_seat_config(sc);
+ if (!config->reading) {
+ input_manager_apply_seat_config(sc);
+ }
config->handler_context.seat_config = NULL;
return cmd_results_new(CMD_SUCCESS, NULL, NULL);