mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
output: default scale to 1
This prevents us from telling application our scale is 0, when it has no reason to be.
This commit is contained in:
parent
1873951f0e
commit
978f935947
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…
Reference in a new issue