From 4a26a2868284c9a1d2a7856150974e6438d9d8ff Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 18 Jul 2023 11:44:11 +0100 Subject: [PATCH] frontend: Fix build error when Xwayland disabled Add another wrapper so we can build with -Dxwayland=false. Signed-off-by: Daniel Stone Fixes: 388702c18182 ("frontend: Explicitly destroy Xwayland from frontend code") Closes: wayland/weston#779 --- compositor/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/compositor/main.c b/compositor/main.c index 14b12e84..b3cb6842 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -3794,6 +3794,11 @@ wet_load_xwayland(struct weston_compositor *comp) { return NULL; } + +void +wet_xwayland_destroy(struct weston_compositor *comp, void *wet_xwl) +{ +} #endif static int