There are hardware solutions for this, but this sounds somewhat ridiculous that I have to solve seemingly software problem with hardware.
From what my google searches yielded me there's no real solution for this problem yet, unless your monitor supports disabling plug'n'play capability (mine doesn't) or you own an NVidia Quadra card (I don't). So I guess I have to just deal with it.
DisplayPort sucks. Apparently, because of plug in play capability, whenever you turn off the monitor, the system considers it as plugged off and reconfigures the entire desktop for only one screen. This has not been a problem with DVI and VGA, whenever I turned off the screen, the system still considered it to be plugged in.
This is especially annoying because Windows has a notion of "primary" screen which is where the task bar with icons is located and other things. Unfortunately some games only open themselves on the primary screen so I have to set my bigger screen as one, even though I'd prefer my "primary" taskbar to be on the smaller monitor. There's a workaround: you can just move that taskbar on the other screen and it's fine. However, because of this plug and play issue, whenever I turn my bigger screen back on, Windows is like: "oh, Primary monitor connected back, let's move the taskbar back there and also let's move ALL windows there!"
Also, unlike Twitter, Mastodon has sane notification system. 😜
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!