diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-18 10:07:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-18 10:07:35 -0400 |
commit | dd4ebb580537fc75e7f335e975ea989b2730d645 (patch) | |
tree | 64b74590ec8ccbe88f140da7f90e5b112c1bda02 | |
parent | 1873951f0ef769123a451c9ce694bd9ea3d09a29 (diff) | |
parent | 978f935947566cf524d6dabd46c374750d5864c2 (diff) |
Merge pull request #104 from martinetd/init_output_scale
output: default scale to 1
-rw-r--r-- | types/wlr_output.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_output.c b/types/wlr_output.c index e6d308f9..e3762733 100644 --- a/types/wlr_output.c +++ b/types/wlr_output.c @@ -97,6 +97,7 @@ void wlr_output_init(struct wlr_output *output, output->impl = impl; output->modes = list_create(); output->transform = WL_OUTPUT_TRANSFORM_NORMAL; + output->scale = 1; wl_signal_init(&output->events.frame); wl_signal_init(&output->events.resolution); } |