swayfx/sway/commands/seat
Brian Ashworth aa1c838f97 seat_cmd_cursor: utilize mouse button helpers
This modifies `seat_cmd_cursor` to utilize `get_mouse_button` when
parsing mouse buttons for the `press` and `release` operations. All x11
buttons, button event names, and button event codes are supported.
For x11 axis buttons, `dispatch_cursor_axis` is used instead of
`dispatch_cursor_button`. However the `press`/`release` state is ignored
and the either axis event is processed. This also removes support for
`left` and `right` in favor of `BTN_LEFT` and `BTN_RIGHT`.
2019-01-10 11:47:34 -05:00
..
attach.c Revamp seat configs 2018-12-29 19:40:40 +01:00
cursor.c seat_cmd_cursor: utilize mouse button helpers 2019-01-10 11:47:34 -05:00
fallback.c Revamp seat configs 2018-12-29 19:40:40 +01:00
hide_cursor.c hide_cursor: change to a seat subcommand 2018-12-30 14:17:24 +01:00