diff options
Diffstat (limited to 'sway/commands/seat/attach.c')
-rw-r--r-- | sway/commands/seat/attach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/seat/attach.c b/sway/commands/seat/attach.c index 7615eef9..00bfdab6 100644 --- a/sway/commands/seat/attach.c +++ b/sway/commands/seat/attach.c | |||
@@ -12,7 +12,7 @@ struct cmd_results *seat_cmd_attach(int argc, char **argv) { | |||
12 | if (!config->handler_context.seat_config) { | 12 | if (!config->handler_context.seat_config) { |
13 | return cmd_results_new(CMD_FAILURE, "No seat defined"); | 13 | return cmd_results_new(CMD_FAILURE, "No seat defined"); |
14 | } | 14 | } |
15 | if (config->reading) { | 15 | if (!config->active) { |
16 | return cmd_results_new(CMD_DEFER, NULL); | 16 | return cmd_results_new(CMD_DEFER, NULL); |
17 | } | 17 | } |
18 | 18 | ||