wlr_output_update_matrix during wl backend init

This commit is contained in:
Drew DeVault 2017-08-10 13:27:14 -04:00
parent 7095274a9e
commit 4aaf76cb66

View file

@ -117,6 +117,7 @@ struct wlr_output *wlr_wl_output_create(struct wlr_backend *_backend) {
strncpy(wlr_output->model, "wayland", sizeof(wlr_output->model)); strncpy(wlr_output->model, "wayland", sizeof(wlr_output->model));
snprintf(wlr_output->name, sizeof(wlr_output->name), "WL-%zd", snprintf(wlr_output->name, sizeof(wlr_output->name), "WL-%zd",
backend->outputs->length + 1); backend->outputs->length + 1);
wlr_output_update_matrix(wlr_output);
ostate->backend = backend; ostate->backend = backend;
ostate->wlr_output = wlr_output; ostate->wlr_output = wlr_output;