swayfx/sway/input
Ryan Dwyer bf5933c501 Implement tab cycling using mouse wheel
Firstly, a change had to be made to the container_at functions. If you
create layout `T[view H[view view]]` and hover the second tab, the
container_at functions would return the focus_inactive child. They now
return the split container itself. To compensate for this,
dispatch_cursor_button has been adjusted to find the focus_inactive
child before focusing it.

The actual implementation of wheel scrolling is pretty straightforward.
This uses handle_cursor_axis, so I took a similar approach to
handle_cursor_button (ie. creating a dispatch_cursor_axis function).
2018-09-22 10:42:59 +10:00
..
cursor.c Implement tab cycling using mouse wheel 2018-09-22 10:42:59 +10:00
input-manager.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
keyboard.c Fix management of bindings during reload 2018-09-06 08:33:00 +10:00
seat.c Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00