backend/wayland: populate pointer axis relative direction

This commit is contained in:
Simon Ser 2023-02-11 19:16:22 +01:00 committed by Kirill Primak
parent 7a58f41416
commit 98c708618e
3 changed files with 16 additions and 2 deletions

View file

@ -355,8 +355,8 @@ static void registry_global(void *data, struct wl_registry *registry,
if (version < 5) {
target_version = 5;
}
if (version > 8) {
target_version = 8;
if (version > 9) {
target_version = 9;
}
struct wl_seat *wl_seat = wl_registry_bind(registry, name,
&wl_seat_interface, target_version);