aboutsummaryrefslogtreecommitdiff
path: root/sway/sway-security.7.txt
diff options
context:
space:
mode:
authorDaniel Kessler <sinani201@gmail.com>2017-01-13 16:06:10 -0800
committerDaniel Kessler <sinani201@gmail.com>2017-01-13 16:06:10 -0800
commiteda4bad725b8a76accdb2a9c648efa046b88c0c0 (patch)
tree68f4595908ff4f33f27e3c30813835642845d290 /sway/sway-security.7.txt
parentc1e6cc3257e5f37438e661427d625168a76ecc27 (diff)
Add output wrapping
This fixes issue #733. Now if the user focuses output right but is at the rightmost monitor, the focus will wrap the the leftmost monitor. This commit adds a new function, swayc_opposite_output, which selects the opposite output given a position and a direction. Now, when calling output_by_name, we first check if there is an adjacent output to switch to. If that fails, we call swayc_opposite_output to handle wrapping.
Diffstat (limited to 'sway/sway-security.7.txt')
0 files changed, 0 insertions, 0 deletions