diff options
author | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-26 12:20:32 +0100 |
---|---|---|
committer | S. Christoffer Eliesen <christoffer@eliesen.no> | 2015-10-29 17:41:33 +0100 |
commit | 78ca6197697d4f07eddf0c544daff85603adab90 (patch) | |
tree | e499ab901ab3371d5860e36db086ea8b46e8227e /sway.5.txt | |
parent | input_state: Extract 'pointer_position_set' function from handlers. (diff) | |
download | sway-78ca6197697d4f07eddf0c544daff85603adab90.tar.gz sway-78ca6197697d4f07eddf0c544daff85603adab90.tar.zst sway-78ca6197697d4f07eddf0c544daff85603adab90.zip |
commands: Learn mouse_warping.
Place mouse at center of focused view when changing to a workspace on a
different output, if option is enabled. (This replicates existing i3
option.)
This can be triggered in multiple ways:
A) via `workspace <name>` which changes output
B) via `focus <direction>` which changes output
C) via `focus output <name>` which (obviously) changes output
Diffstat (limited to 'sway.5.txt')
-rw-r--r-- | sway.5.txt | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -102,6 +102,10 @@ Commands | |||
102 | Moves the focused container to the workspace identified by _name_. | 102 | Moves the focused container to the workspace identified by _name_. |
103 | _name_ may be a special workspace name. See **workspace**. | 103 | _name_ may be a special workspace name. See **workspace**. |
104 | 104 | ||
105 | **mouse_warping** <output|none>:: | ||
106 | When _output_: place mouse at center of newly focused window when changing | ||
107 | output. When _none_: don't move mouse. | ||
108 | |||
105 | **output** <name> <resolution|res WIDTHxHEIGHT> <position|pos X,Y>:: | 109 | **output** <name> <resolution|res WIDTHxHEIGHT> <position|pos X,Y>:: |
106 | Configures the specified output. It will use the given resolution and be | 110 | Configures the specified output. It will use the given resolution and be |
107 | arranged at the given position in the layout tree. You may omit either of | 111 | arranged at the given position in the layout tree. You may omit either of |