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.
This commit is contained in:
Frank Praznik
2026-08-05 11:05:12 -04:00
parent b23ae0eec7
commit 2afc369e8a

View File

@@ -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];