Whenever the output configuration changes, restore the last window geometry and state for all windows that the user hasn't manually moved.
As this should fix a lot of very annoying bugs with multiple monitors, this should IMO be backported to 5.25.
BUG: 455066 BUG: 374908 CCBUG: 444082 CCBUG: 454003 CCBUG: 453589