aboutsummaryrefslogtreecommitdiff
path: root/rootston
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 /rootston
parent808ab5aa1bd990776ae30d5f9bb171ca7b42d6ef (diff)
Update output layout when scale or transform changes
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/output.c b/rootston/output.c
index b2d6554d..560e5eeb 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -321,7 +321,7 @@ void output_add_notify(struct wl_listener *listener, void *data) {
set_mode(wlr_output, output_config);
}
wlr_output_set_scale(wlr_output, output_config->scale);
- wlr_output_transform(wlr_output, output_config->transform);
+ wlr_output_set_transform(wlr_output, output_config->transform);
wlr_output_layout_add(desktop->layout, wlr_output, output_config->x,
output_config->y);
} else {