From d6890cb847de6adb95f9579937a9cce049f076b8 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 7 Dec 2020 21:22:03 +0100 Subject: output-management: use same types as wlr_output This is more correct and also makes things much nicer for languages that don't allow implicit conversions between these types. --- include/wlr/types/wlr_output_management_v1.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_output_management_v1.h b/include/wlr/types/wlr_output_management_v1.h index 945d57f0..c0551ac1 100644 --- a/include/wlr/types/wlr_output_management_v1.h +++ b/include/wlr/types/wlr_output_management_v1.h @@ -50,12 +50,12 @@ struct wlr_output_head_v1_state { bool enabled; struct wlr_output_mode *mode; struct { - int width, height; - int refresh; + int32_t width, height; + int32_t refresh; } custom_mode; int32_t x, y; enum wl_output_transform transform; - double scale; + float scale; }; struct wlr_output_head_v1 { -- cgit v1.2.3