diff options
Diffstat (limited to 'sway/commands/output/transform.c')
-rw-r--r-- | sway/commands/output/transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/output/transform.c b/sway/commands/output/transform.c index c1555323..ca6f73a4 100644 --- a/sway/commands/output/transform.c +++ b/sway/commands/output/transform.c | |||
@@ -45,7 +45,7 @@ struct cmd_results *output_cmd_transform(int argc, char **argv) { | |||
45 | return cmd_results_new(CMD_INVALID, "output", | 45 | return cmd_results_new(CMD_INVALID, "output", |
46 | "Cannot apply relative transform to all outputs."); | 46 | "Cannot apply relative transform to all outputs."); |
47 | } | 47 | } |
48 | struct sway_output *s_output = output_by_name(output->name); | 48 | struct sway_output *s_output = output_by_name_or_id(output->name); |
49 | if (s_output == NULL) { | 49 | if (s_output == NULL) { |
50 | return cmd_results_new(CMD_INVALID, "output", | 50 | return cmd_results_new(CMD_INVALID, "output", |
51 | "Cannot apply relative transform to unknown output %s", output->name); | 51 | "Cannot apply relative transform to unknown output %s", output->name); |