https://bugzilla.kernel.org/show_bug.cgi?id=210429
--- Comment #1 from jordanleppert@gmail.com --- This is also a problem when using xorg-server, after monitors wake up from DPMS they reconnect (causing issues in whatever DE I'm using, such as all windows moving to one monitor).
If I can recreate the issue with a BASH command I'll post it, I've tried the below command but for some reason it doesn't reproduce the problem:
echo detect | sudo tee /sys/class/drm/card0-DP-1/status | sudo tee /sys/class/drm/card0-DP-2/status