Describe the bug
when you move a window to a different screen, it doesn't seem to detect that, and this results in: 1. frame constraint bouncing the window back to the original screen; and 2. not getting the new dpi of the new screen.
also, minimizing works but then it tries to restore and emits a "surface cannot be 0, 0" kind of error -- should be an easy fix.
minimizing and restoring works fine on mac. need to also test on linux.
Both for #1341
How to reproduce
do it.
Example code
No response
Relevant output
No response
Platform
macOS