diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-22 17:46:12 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-22 17:46:12 +1000 |
commit | e1d5dc08048d8b0ef739302ee58bdc8642b44f13 (patch) | |
tree | 3df1787ec9350bc5edf1d9ca8643de4d9f7abbbe /sway/commands/input/repeat_delay.c | |
parent | ce12d912dc64dea08a5489bbb3c43a7eb226be97 (diff) |
Translate floating containers when a workspace is moved
When a workspace is moved to another output, or the output it's on
changes its global layout position, the floating containers on that
workspace should be translated by the same amount as the workspace. This
keeps the floating containers in the same position relative to the
workspace.
A check is done to make sure the floating container's center point isn't
being moved off screen. If it is, it is centered within the workspace.
Fixes part of #2500.
Diffstat (limited to 'sway/commands/input/repeat_delay.c')
0 files changed, 0 insertions, 0 deletions