SDL: wayland: Use the correct parameter type in the capabilities callback

From 2afc369e8aa234302d42565c020b3be49024de51 Mon Sep 17 00:00:00 2001
From: Frank Praznik <[EMAIL REDACTED]>
Date: Wed, 5 Aug 2026 11:05:12 -0400
Subject: [PATCH] wayland: Use the correct parameter type in the capabilities
 callback

The capabilities parameter is a uint32_t in the function signature in the header, not an enum.

Fixes a clang-tidy warning.
---
 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 77524a9009630..9831c7d66566d 100644
--- a/src/video/wayland/SDL_waylandevents.c
+++ b/src/video/wayland/SDL_waylandevents.c
@@ -2525,7 +2525,7 @@ static void Wayland_SeatDestroyTouch(SDL_WaylandSeat *seat)
     WAYLAND_wl_list_init(&seat->touch.points);
 }
 
-static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, enum wl_seat_capability capabilities)
+static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, uint32_t capabilities)
 {
     SDL_WaylandSeat *seat = (SDL_WaylandSeat *)data;
     char name_fmt[256];