diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-01-01 08:45:21 -0500 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-01-02 23:33:33 +0100 |
commit | 5bf4daf2634929e7c94a6c7e56eda66d4667ca2f (patch) | |
tree | 1a5b0c1300c056cdd48f9d819e960e1336c46602 /sway/sway.5.scd | |
parent | Fix fullscreen view rendering crash (diff) | |
download | sway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.tar.gz sway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.tar.zst sway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.zip |
Implement tiling_drag_threshold
Implements `tiling_drag_threshold <threshold>` to prevent accidental
dragging of tiling containers. If a container (and all of its
descendants) are unfocused and the tile bar is pressed, a threshold
will be used before actually starting the drag. Once the threshold has
been exceeded, the cursor will change to the grab icon and the operation
will switch from `OP_MOVE_TILING_THRESHOLD` to `OP_MOVE_TILING`.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r-- | sway/sway.5.scd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd index e6abef56..37a9b24c 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd | |||
@@ -572,6 +572,15 @@ The default colors are: | |||
572 | the _floating\_mod_ will also allow the container to be dragged. _toggle_ | 572 | the _floating\_mod_ will also allow the container to be dragged. _toggle_ |
573 | should not be used in the config file. | 573 | should not be used in the config file. |
574 | 574 | ||
575 | *tiling\_drag\_threshold* <threshold> | ||
576 | Sets the threshold that must be exceeded for an unfocused tiling container | ||
577 | to be dragged by its titlebar. This has no effect if _floating\_mod_ is | ||
578 | used, if the container is focused, or if _tiling\_drag_ is set to | ||
579 | _disable_. Once the threshold has been exceeded once, the drag starts and | ||
580 | the cursor can come back inside the threshold without stopping the drag. | ||
581 | _threshold_ is multiplied by the scale of the output that the cursor on. | ||
582 | The default is 9. | ||
583 | |||
575 | *title\_align* left|center|right | 584 | *title\_align* left|center|right |
576 | Sets the title alignment. If _right_ is selected and _show\_marks_ is set | 585 | Sets the title alignment. If _right_ is selected and _show\_marks_ is set |
577 | to _yes_, the marks will be shown on the _left_ side instead of the | 586 | to _yes_, the marks will be shown on the _left_ side instead of the |