aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-10 13:27:14 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-10 13:27:14 -0400
commit4aaf76cb66865efb8ea902a45596cd12d0f73b8e (patch)
tree90ddba226b723c8b9b020a28d725216f3a8b2aaf /backend
parent7095274a9ed02d60aebc8fdd7cdf9fc0754330d3 (diff)
wlr_output_update_matrix during wl backend init
Diffstat (limited to 'backend')
-rw-r--r--backend/wayland/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/wayland/output.c b/backend/wayland/output.c
index 96f71efa..2c7086e2 100644
--- a/backend/wayland/output.c
+++ b/backend/wayland/output.c
@@ -117,6 +117,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
strncpy(wlr_output->model, "wayland", sizeof(wlr_output->model));
snprintf(wlr_output->name, sizeof(wlr_output->name), "WL-%zd",
backend->outputs->length + 1);
+ wlr_output_update_matrix(wlr_output);
ostate->backend = backend;
ostate->wlr_output = wlr_output;