During testing I found a new bug unfortunately, a multimonitor system is needed:
[How to reproduce]
1.Semi-maximize horizontally or maximize a window on monitor 2
2.Change the viewport
3.Switch back to your window with a switcher, or via click on its icon in a dock/launcher
[What you expect to happen]
The viewport changes and your chosen window on monitor 2 is focussed.
[What actually happens]
The viewport will change correctly, but the window will move to the main monitor and maximize/semi-maximize horizontally there.
WTF
During testing I found a new bug unfortunately, a multimonitor system is needed:
[How to reproduce]
1.Semi-maximize horizontally or maximize a window on monitor 2
2.Change the viewport
3.Switch back to your window with a switcher, or via click on its icon in a dock/launcher
[What you expect to happen]
The viewport changes and your chosen window on monitor 2 is focussed.
[What actually happens]
The viewport will change correctly, but the window will move to the main monitor and maximize/ semi-maximize horizontally there.
WTF