mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-03 01:40:17 -05:00
mouse: use discrete axis event if available
This improves the scroll experience with certain devices
This commit is contained in:
parent
bb3e33948f
commit
e88cf4c8c8
3 changed files with 39 additions and 25 deletions
2
main.c
2
main.c
|
|
@ -125,7 +125,7 @@ handle_global(void *data, struct wl_registry *registry,
|
|||
|
||||
else if (strcmp(interface, wl_seat_interface.name) == 0) {
|
||||
term->wl.seat = wl_registry_bind(
|
||||
term->wl.registry, name, &wl_seat_interface, 4);
|
||||
term->wl.registry, name, &wl_seat_interface, 5);
|
||||
wl_seat_add_listener(term->wl.seat, &seat_listener, term);
|
||||
wl_display_roundtrip(term->wl.display);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue