mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Merge pull request #104 from martinetd/init_output_scale
output: default scale to 1
This commit is contained in:
commit
dd4ebb5805
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ void wlr_output_init(struct wlr_output *output,
|
||||||
output->impl = impl;
|
output->impl = impl;
|
||||||
output->modes = list_create();
|
output->modes = list_create();
|
||||||
output->transform = WL_OUTPUT_TRANSFORM_NORMAL;
|
output->transform = WL_OUTPUT_TRANSFORM_NORMAL;
|
||||||
|
output->scale = 1;
|
||||||
wl_signal_init(&output->events.frame);
|
wl_signal_init(&output->events.frame);
|
||||||
wl_signal_init(&output->events.resolution);
|
wl_signal_init(&output->events.resolution);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue