aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/output/transform.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/output/transform.c')
-rw-r--r--sway/commands/output/transform.c2
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) {
return cmd_results_new(CMD_INVALID, "output",
"Cannot apply relative transform to all outputs.");
}
- struct sway_output *s_output = output_by_name(output->name);
+ struct sway_output *s_output = output_by_name_or_id(output->name);
if (s_output == NULL) {
return cmd_results_new(CMD_INVALID, "output",
"Cannot apply relative transform to unknown output %s", output->name);