SDL: wayland: Raise wl_seat maximum version to 8

From 0b88e609bc5b0cdb4218d02c8a03403b067fffa8 Mon Sep 17 00:00:00 2001
From: Frank Praznik <[EMAIL REDACTED]>
Date: Tue, 11 Oct 2022 07:40:35 -0400
Subject: [PATCH] wayland: Raise wl_seat maximum version to 8

Version 8 is required for supporting axis_value120 high-resolution scroll events.
---
 src/video/wayland/SDL_waylandevents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/wayland/SDL_waylandevents.c b/src/video/wayland/SDL_waylandevents.c
index 8b53424fcfe4..54ffdaf041d1 100644
--- a/src/video/wayland/SDL_waylandevents.c
+++ b/src/video/wayland/SDL_waylandevents.c
@@ -2350,7 +2350,7 @@ Wayland_display_add_input(SDL_VideoData *d, uint32_t id, uint32_t version)
         return;
 
     input->display = d;
-    input->seat = wl_registry_bind(d->registry, id, &wl_seat_interface, SDL_min(5, version));
+    input->seat = wl_registry_bind(d->registry, id, &wl_seat_interface, SDL_min(8, version));
     input->sx_w = wl_fixed_from_int(0);
     input->sy_w = wl_fixed_from_int(0);
     input->xkb.current_group = ~0;