diff options
author | 2020-01-21 01:32:22 -0700 | |
---|---|---|
committer | 2020-07-27 11:27:47 +0200 | |
commit | cfa403fc58f3df9cdef2bc03d0a8bbdd4333ed00 (patch) | |
tree | f3fe67513a7b4d574039d7f1b55b0cffc4cf673f /README.dk.md | |
parent | commands: disallow runtime include (diff) | |
download | sway-cfa403fc58f3df9cdef2bc03d0a8bbdd4333ed00.tar.gz sway-cfa403fc58f3df9cdef2bc03d0a8bbdd4333ed00.tar.zst sway-cfa403fc58f3df9cdef2bc03d0a8bbdd4333ed00.zip |
Keep windows in bounds on move to position mouse
If the mouse/cursor/pointer is near the edge of an output when a "move
position to pointer" command is run, then the floating container will be
constrained to fit inside the bounds of the output as much as possible.
This behavior matches what i3 does in this scenario. I also think it is
a better user experience.
Relates to #4906
The logic for the bounds check follows the implementation in i3: https://github.com/i3/i3/blob/733077822302d8b77eacb606a26fd002a42f534f/src/floating.c#L536
Diffstat (limited to 'README.dk.md')
0 files changed, 0 insertions, 0 deletions