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.

(cherry picked from commit 2afc369e8a)
This commit is contained in:
Frank Praznik
2026-08-05 11:05:12 -04:00
parent bd9312a108
commit 15bc6cbdd4

View File

@@ -2472,7 +2472,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];