From 978f935947566cf524d6dabd46c374750d5864c2 Mon Sep 17 00:00:00 2001
From: Dominique Martinet <asmadeus@codewreck.org>
Date: Fri, 18 Aug 2017 16:00:22 +0200
Subject: output: default scale to 1

This prevents us from telling application our scale is 0, when it has no
reason to be.
---
 types/wlr_output.c | 1 +
 1 file changed, 1 insertion(+)

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);
 }
-- 
cgit v1.2.3