aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/cursor.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-06 13:16:54 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-09 11:29:04 -0500
commiteefa6b1ad3f7e6fcbcf52595a833ae28364c18ea (patch)
treeb65eda998dbfc67d338253516441ad227c38cb1e /include/sway/input/cursor.h
parentAdd helpers for improved mouse button parsing (diff)
downloadsway-eefa6b1ad3f7e6fcbcf52595a833ae28364c18ea.tar.gz
sway-eefa6b1ad3f7e6fcbcf52595a833ae28364c18ea.tar.zst
sway-eefa6b1ad3f7e6fcbcf52595a833ae28364c18ea.zip
bind{code,sym}: utilize mouse button helpers
This modifies `bindcode` and `bindsym` to use `get_mouse_bindcode` and `get_mouse_bindsym`, respectively, to parse mouse buttons. Additionally, the `BINDING_MOUSE` type has been split into `BINDING_MOUSECODE` and `BINDING_MOUSESYM` to match keys and allow for mouse bindcodes to be used. Between the two commands, all button syms and codes should be supported, including x11 axis buttons.
Diffstat (limited to 'include/sway/input/cursor.h')
0 files changed, 0 insertions, 0 deletions