I'd also like to use wev under weston. For this particular error (invalid version for global xdg_wm_base (18): have 1, wanted 2), we don't actually need xdg_wm_base version two in wev (the only API we use here is xdg_wm_base_get_xdg_surface()) and the API is backwards compatible, so just downgrading the requested version from 2 to 1 as follow fixes wev for me:
---- >From bdbad4e1e58d090654e2f5e804659bb8709f2f45 Mon Sep 17 00:00:00 2001 From: Dominique Martinet <dominique.marti...@atmark-techno.com> Date: Wed, 5 Oct 2022 11:19:27 +0900 Subject: [PATCH] protocols: lower xdg_wm_base requirement to 1 We do not need anything in API v2, and using the older v1 API makes wev work on weston <= 9 diff --git a/wev.c b/wev.c index 9d25491ba4b5..b0e7005b166b 100644 --- a/wev.c +++ b/wev.c @@ -811,7 +811,7 @@ static void registry_global(void *data, struct wl_registry *wl_registry, { &wl_compositor_interface, 4, (void **)&state->compositor }, { &wl_seat_interface, 6, (void **)&state->seat }, { &wl_shm_interface, 1, (void **)&state->shm }, - { &xdg_wm_base_interface, 2, (void **)&state->wm_base }, + { &xdg_wm_base_interface, 1, (void **)&state->wm_base }, { &wl_data_device_manager_interface, 3, (void **)&state->data_device_manager }, }; ---- Note upgrading weston to version 10 or above would also fix the issue. I'm not bothering to send this patch upstream as it would likely be rejected (on the grounds of upstream weston already been upgraded), but it would be great if we could add this patch to the debian stable package. (it's not needed for testing onwards, but it won't cause any harm there either as far as I understand) Thank you, -- Dominique