How can I make my windows re-open/remember the virtual desktop they were in?

@maisylover

When I was using X11, it also worked for me. Now, I’m using Wayland and I have the same problem. And, it goes even further: I’m using two monitors and every application opens on the main monitor, when they used to remember which monitor they were last on. And I’m having trouble with a delay when I move my cursor from one monitor to the other.