aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
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 /sway/sway.5.scd
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 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 3757a097..3398ad58 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -302,7 +302,7 @@ runtime.
302``` 302```
303 303
304 *bindcode* [--release|--locked] [--input-device=<device>] [--no-warn] <code> <command> 304 *bindcode* [--release|--locked] [--input-device=<device>] [--no-warn] <code> <command>
305 is also available for binding with key codes instead of key names. 305 is also available for binding with key/button codes instead of key/button names.
306 306
307*client.<class>* <border> <background> <text> <indicator> <child\_border> 307*client.<class>* <border> <background> <text> <indicator> <child\_border>
308 Configures the color of window borders and title bars. All 5 colors are 308 Configures the color of window borders and title bars. All 5 colors are