wayland: Raise wl_seat maximum version to 8

Version 8 is required for supporting axis_value120 high-resolution scroll events.
main
Frank Praznik 2022-10-11 07:40:35 -04:00 committed by Ethan Lee
parent 41c718edca
commit 0b88e609bc
1 changed files with 1 additions and 1 deletions

View File

@ -2350,7 +2350,7 @@ Wayland_display_add_input(SDL_VideoData *d, uint32_t id, uint32_t version)
return; return;
input->display = d; 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->sx_w = wl_fixed_from_int(0);
input->sy_w = wl_fixed_from_int(0); input->sy_w = wl_fixed_from_int(0);
input->xkb.current_group = ~0; input->xkb.current_group = ~0;