aboutsummaryrefslogtreecommitdiff
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-02-18 05:16:20 +0100
committerGitHub <noreply@github.com>2019-02-18 05:16:20 +0100
commite625c0b18ce9fe7474821c7a88a50b65c9c320f3 (patch)
tree98ad97cbeac9c87f49385fb33338a81b49d84441 /sway/sway.5.scd
parentfaf15ee733681f14797d8b47078854a00f03f8fc (diff)
parent041594d2ab4fb6f8de2055d3704da5f54146c44e (diff)
Merge pull request #3713 from RedSoxFan/fix-mouse-bindings
Use container under cursor for mouse bindings
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd13
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.
overwrite a binding, swaynag will give you a warning. To silence this, use
the _--no-warn_ flag.
- Mouse buttons can either be specified in the form _button[1-9]_ or by using
- the name of the event code (ex _BTN\_LEFT_ or _BTN\_RIGHT_). For the former
- option, the buttons will be mapped to their values in X11 (1=left, 2=middle,
- 3=right, 4=scroll up, 5=scroll down, 6=scroll left, 7=scroll right, 8=back,
- 9=forward). For the latter option, you can find the event names using
- _libinput debug-events_.
+ Mouse bindings operate on the container under the cursor instead of the
+ container that has focus. Mouse buttons can either be specified in the form
+ _button[1-9]_ or by using the name of the event code (ex _BTN\_LEFT_ or
+ _BTN\_RIGHT_). For the former option, the buttons will be mapped to their
+ values in X11 (1=left, 2=middle, 3=right, 4=scroll up, 5=scroll down,
+ 6=scroll left, 7=scroll right, 8=back, 9=forward). For the latter option,
+ you can find the event names using _libinput debug-events_.
_--whole-window_, _--border_, and _--exclude-titlebar_ are mouse-only options
which affect the region in which the mouse bindings can be triggered. By