From 0b21156c3b4f049325dbc7937aabb1f689ed945d Mon Sep 17 00:00:00 2001 From: Vasyl Vavrychuk Date: Thu, 12 May 2022 01:02:11 +0200 Subject: Fix compilation error due to missing wl_output_listener fields initializers. Bug-AGL: SPEC-4369 Change-Id: I9d575952a01178e6ff175f96a6946e40d980eaef Signed-off-by: Vasyl Vavrychuk --- src/main.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main.c b/src/main.c index 240e44c..0afcf84 100644 --- a/src/main.c +++ b/src/main.c @@ -75,11 +75,23 @@ display_handle_scale(void *data, struct wl_output *wl_output, int32_t factor) { } +static void +display_handle_name(void *data, struct wl_output *wl_output, const char *name) +{ +} + +static void +display_handle_description(void *data, struct wl_output *wl_output, const char *description) +{ +} + static const struct wl_output_listener output_listener = { display_handle_geometry, display_handle_mode, display_handle_done, display_handle_scale, + display_handle_name, + display_handle_description, }; -- cgit 1.2.3-korg