diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-01-10 11:47:34 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-01-10 11:47:34 -0500 |
| commit | 30b5cd6a2a612a086dcebb00c08fb73af91cb095 (patch) | |
| tree | cf88e53cff1e0d49a52df4d5a38ad5d1e1d7e959 /include/swaybar | |
| parent | 21edd31a3475c6fbcc19c96f0290b7c4fe39afd5 (diff) | |
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`.
Diffstat (limited to 'include/swaybar')
0 files changed, 0 insertions, 0 deletions
