mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 06:35:58 +01:00
wlr_output_update_matrix during wl backend init
This commit is contained in:
parent
7095274a9e
commit
4aaf76cb66
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue