diff options
Diffstat (limited to 'sway/commands/output.c')
-rw-r--r-- | sway/commands/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/output.c b/sway/commands/output.c index 42230bd7..125df5a7 100644 --- a/sway/commands/output.c +++ b/sway/commands/output.c | |||
@@ -34,9 +34,9 @@ struct cmd_results *cmd_output(int argc, char **argv) { | |||
34 | return error; | 34 | return error; |
35 | } | 35 | } |
36 | 36 | ||
37 | // The NOOP-1 output is a dummy output used when there's no outputs | 37 | // The HEADLESS-1 output is a dummy output used when there's no outputs |
38 | // connected. It should never be configured. | 38 | // connected. It should never be configured. |
39 | if (strcasecmp(argv[0], root->noop_output->wlr_output->name) == 0) { | 39 | if (strcasecmp(argv[0], root->fallback_output->wlr_output->name) == 0) { |
40 | return cmd_results_new(CMD_FAILURE, | 40 | return cmd_results_new(CMD_FAILURE, |
41 | "Refusing to configure the no op output"); | 41 | "Refusing to configure the no op output"); |
42 | } | 42 | } |
@@ -53,7 +53,7 @@ struct cmd_results *cmd_output(int argc, char **argv) { | |||
53 | if (!sway_output) { | 53 | if (!sway_output) { |
54 | return cmd_results_new(CMD_FAILURE, "Unknown output"); | 54 | return cmd_results_new(CMD_FAILURE, "Unknown output"); |
55 | } | 55 | } |
56 | if (sway_output == root->noop_output) { | 56 | if (sway_output == root->fallback_output) { |
57 | return cmd_results_new(CMD_FAILURE, | 57 | return cmd_results_new(CMD_FAILURE, |
58 | "Refusing to configure the no op output"); | 58 | "Refusing to configure the no op output"); |
59 | } | 59 | } |