diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-02-17 20:33:37 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-02-18 15:11:48 -0500 |
commit | a1b9aa11d12a5b0a2a521d6b9b89d487be2eedd3 (patch) | |
tree | 1c48e91df9a0cbc0b8459685a0c592441f2960c4 /sway/sway.5.scd | |
parent | seat_cmd_cursor: fix typo in expected syntax (diff) | |
download | sway-a1b9aa11d12a5b0a2a521d6b9b89d487be2eedd3.tar.gz sway-a1b9aa11d12a5b0a2a521d6b9b89d487be2eedd3.tar.zst sway-a1b9aa11d12a5b0a2a521d6b9b89d487be2eedd3.zip |
Use container under cursor for mouse bindings1.0-rc3
This matches i3's behavior of executing mouse bindings in regards to the
container under the cursor instead of what is focused.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index b6955acd..76467d23 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -293,12 +293,13 @@ runtime. | |||
293 | overwrite a binding, swaynag will give you a warning. To silence this, use | 293 | overwrite a binding, swaynag will give you a warning. To silence this, use |
294 | the _--no-warn_ flag. | 294 | the _--no-warn_ flag. |
295 | 295 | ||
296 | Mouse buttons can either be specified in the form _button[1-9]_ or by using | 296 | Mouse bindings operate on the container under the cursor instead of the |
297 | the name of the event code (ex _BTN\_LEFT_ or _BTN\_RIGHT_). For the former | 297 | container that has focus. Mouse buttons can either be specified in the form |
298 | option, the buttons will be mapped to their values in X11 (1=left, 2=middle, | 298 | _button[1-9]_ or by using the name of the event code (ex _BTN\_LEFT_ or |
299 | 3=right, 4=scroll up, 5=scroll down, 6=scroll left, 7=scroll right, 8=back, | 299 | _BTN\_RIGHT_). For the former option, the buttons will be mapped to their |
300 | 9=forward). For the latter option, you can find the event names using | 300 | values in X11 (1=left, 2=middle, 3=right, 4=scroll up, 5=scroll down, |
301 | _libinput debug-events_. | 301 | 6=scroll left, 7=scroll right, 8=back, 9=forward). For the latter option, |
302 | you can find the event names using _libinput debug-events_. | ||
302 | 303 | ||
303 | _--whole-window_, _--border_, and _--exclude-titlebar_ are mouse-only options | 304 | _--whole-window_, _--border_, and _--exclude-titlebar_ are mouse-only options |
304 | which affect the region in which the mouse bindings can be triggered. By | 305 | which affect the region in which the mouse bindings can be triggered. By |