Keep the relativ windowsize/position (relativ to the resolution of the new monitor) when moving a window from one head to another (per SetHead).
Tested with xorg virtual screens.
SetHead: Keep the relativ windowsize and position
Patch needs a little style love, but the idea is certainly required.
There's a lot of fuzz on the proper strategy (eg. maintain attachment) but the present code allows to send the window out of screen bounds, so the patch is an improvement.
A variant of this is in git master now.
Log in to post a comment.