aboutsummaryrefslogtreecommitdiff
path: root/examples/output-layout.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-12 21:58:00 +0100
committeremersion <contact@emersion.fr>2017-12-12 21:58:00 +0100
commit3b4b8953d96194e8b168149f46c731443239accd (patch)
tree35c6a0da0b6f296603711358a53847c6959acd67 /examples/output-layout.c
parent808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (diff)
Update output layout when scale or transform changes
Diffstat (limited to 'examples/output-layout.c')
-rw-r--r--examples/output-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/output-layout.c b/examples/output-layout.c
index 084bd7df..b9228692 100644
--- a/examples/output-layout.c
+++ b/examples/output-layout.c
@@ -136,7 +136,7 @@ static void handle_output_add(struct output_state *ostate) {
example_config_get_output(sample->config, ostate->output);
if (o_config) {
- wlr_output_transform(ostate->output, o_config->transform);
+ wlr_output_set_transform(ostate->output, o_config->transform);
wlr_output_layout_add(sample->layout, ostate->output, o_config->x,
o_config->y);
} else {