aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-12-06 12:17:04 -0500
committerGitHub <noreply@github.com>2017-12-06 12:17:04 -0500
commitaead5019a7075a5823ae7e9255106e666e7b87de (patch)
tree8b6878c11be19c936a129ec50b129cf6fb59757d /rootston
parentdad19394cf5501f95c1df1d71de42a654f748e08 (diff)
parentdac0233804c7a8a1ffe76c4c3f0644873a0267d0 (diff)
Merge pull request #466 from emersion/wlr-output-set-scale
Add wlr_output_set_scale
Diffstat (limited to 'rootston')
-rw-r--r--rootston/output.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rootston/output.c b/rootston/output.c
index bf684f2f..d0f4a378 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -314,10 +314,10 @@ void output_add_notify(struct wl_listener *listener, void *data) {
if (output_config->mode.width) {
set_mode(wlr_output, output_config);
}
- wlr_output->scale = output_config->scale;
+ wlr_output_set_scale(wlr_output, output_config->scale);
wlr_output_transform(wlr_output, output_config->transform);
- wlr_output_layout_add(desktop->layout,
- wlr_output, output_config->x, output_config->y);
+ wlr_output_layout_add(desktop->layout, wlr_output, output_config->x,
+ output_config->y);
} else {
wlr_output_layout_add_auto(desktop->layout, wlr_output);
}