~sircmpwn/public-inbox

wev: Change wl_seat interface version to 5 v1 PROPOSED

Hans de Goede
Hans de Goede: 1
 Change wl_seat interface version to 5

 1 files changed, 1 insertions(+), 1 deletions(-)
I don't particularly care about whether or not Mutter plans on keeping
itself up to date. That's Mutter's problem, not wev's.
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/25786/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH wev] Change wl_seat interface version to 5 Export this patch

Hans de Goede
There is no reason for wev to require wl_seat version 6,
all wev's functionality will work fine with version 5.

Lower the required wl_seat interface version to 5 to make
wev work with mutter based compositors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 wev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wev.c b/wev.c
index 9d25491..9a34fd8 100644
--- a/wev.c
+++ b/wev.c
@@ -809,7 +809,7 @@ static void registry_global(void *data, struct wl_registry *wl_registry,
		void **ptr;
	} handles[] = {
		{ &wl_compositor_interface, 4, (void **)&state->compositor },
		{ &wl_seat_interface, 6, (void **)&state->seat },
		{ &wl_seat_interface, 5, (void **)&state->seat },
		{ &wl_shm_interface, 1, (void **)&state->shm },
		{ &xdg_wm_base_interface, 2, (void **)&state->wm_base },
		{ &wl_data_device_manager_interface, 3,
-- 
2.31.1
It seems more appropriate to update wev to support version 6 additions
to wl_seat.