I’m on X11, I have an nvidia card and Wayland is way too buggy right now, even with the recent 545 driver.
As always, the Arch Wiki had the answer, I just didn’t see because it seems to describe a different issue. SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0 environment variable seems to do the trick.