mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: Fix scrolling with precise trackpads
This commit is contained in:
parent
f18bcfcd69
commit
4492e493e6
3 changed files with 91 additions and 12 deletions
|
|
@ -340,7 +340,7 @@ static void handle_global(void *data, struct wl_registry *registry,
|
|||
}
|
||||
seat->bar = bar;
|
||||
seat->wl_name = name;
|
||||
seat->wl_seat = wl_registry_bind(registry, name, &wl_seat_interface, 3);
|
||||
seat->wl_seat = wl_registry_bind(registry, name, &wl_seat_interface, 5);
|
||||
wl_seat_add_listener(seat->wl_seat, &seat_listener, seat);
|
||||
wl_list_insert(&bar->seats, &seat->link);
|
||||
} else if (strcmp(interface, wl_shm_interface.name) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue