diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-10 11:47:34 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-10 11:47:34 -0500 |
commit | aa1c838f9733f9b5e90e8267a10e455790cd2642 (patch) | |
tree | cf88e53cff1e0d49a52df4d5a38ad5d1e1d7e959 /sway/sway.5.scd | |
parent | Merge pull request #3400 from ianyfan/config-brace (diff) | |
download | sway-aa1c838f9733f9b5e90e8267a10e455790cd2642.tar.gz sway-aa1c838f9733f9b5e90e8267a10e455790cd2642.tar.zst sway-aa1c838f9733f9b5e90e8267a10e455790cd2642.zip |
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 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index 3398ad58..a9f60c1b 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -491,15 +491,6 @@ The default colors are: | |||
491 | *seat* <seat> <seat-subcommands...> | 491 | *seat* <seat> <seat-subcommands...> |
492 | For details on seat subcommands, see *sway-input*(5). | 492 | For details on seat subcommands, see *sway-input*(5). |
493 | 493 | ||
494 | *seat* <seat> cursor move|set <x> <y> | ||
495 | Move specified seat's cursor relative to current position or wrap to | ||
496 | absolute coordinates (with respect to the global coordinate space). | ||
497 | Specifying either value as 0 will not update that coordinate. | ||
498 | |||
499 | *seat* <seat> cursor press|release left|right|1|2|3... | ||
500 | Simulate pressing (or releasing) the specified mouse button on the | ||
501 | specified seat. | ||
502 | |||
503 | *kill* | 494 | *kill* |
504 | Kills (closes) the currently focused container and all of its children. | 495 | Kills (closes) the currently focused container and all of its children. |
505 | 496 | ||