summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-05-12 01:02:11 +0200
committerVasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>2022-05-12 01:05:07 +0200
commit0b21156c3b4f049325dbc7937aabb1f689ed945d (patch)
tree2178534f4ae0980ecee91b391621cd205c42c244
parent22f8d43e5859401260a4c1dcaf1fa144e54d396a (diff)
Fix compilation error due to missing wl_output_listener fields initializers.needlefish_13.93.0needlefish/13.93.013.93.0
Bug-AGL: SPEC-4369 Change-Id: I9d575952a01178e6ff175f96a6946e40d980eaef Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
-rw-r--r--src/main.c12
1 files changed, 12 insertions, 0 deletions
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,
};