Yesterday I watched a movie on my TV using HDMI cable to connect my laptop. I’ve configured my TV as an extensive display and opened a couple of programs on my TV. Now, my TV is unconnected and those programs are keep opening on my non-existing TV.
The solution is simple, just bring the programs back to the main display. To do this, keep the Windows key pressed while pressing on the arrows.