1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Reduce required version of wl_seat protocol to 5.

The latest wl_seat protocol version is 9, but the last addition was made
to it in version 5. Wayland is stupid.
This commit is contained in:
Bartosz Taudul 2023-05-25 18:48:45 +02:00
parent 2759f96c0e
commit c57b8994f6
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -519,7 +519,7 @@ static void RegistryGlobal( void*, struct wl_registry* reg, uint32_t name, const
}
else if( strcmp( interface, wl_seat_interface.name ) == 0 )
{
s_seat = (wl_seat*)wl_registry_bind( reg, name, &wl_seat_interface, 7 );
s_seat = (wl_seat*)wl_registry_bind( reg, name, &wl_seat_interface, 5 );
wl_seat_add_listener( s_seat, &seatListener, nullptr );
}
else if( strcmp( interface, xdg_activation_v1_interface.name ) == 0 )