Fullscreen app freezes when I click on another display

I have two monitors. If I use SDL_WINDOW_FULLSCREEN and create my app on one display, it will freeze when I click on the other display. It doesn’t matter which display gets the fullscreen window. When I use SDL_WINDOW_FULLSCREEN_DESKTOP this doesn’t happen. Is this a known thing? Maybe I’m missing something. I’m using SDL2, Win11, and an Intel Arc GPU.

SDL_WINDOW_FULLSCREEN requests OS to change video mode.
When you interact with second desktop the video mode changes back to regular one and underlying render can’t display a thing.
SDL_WINDOW_FULLSCREEN_DESKTOP doesn’t request a video mode change, so render goes on because the video mode changing doesn’t occur when you interact with second desktop.
More information on the differences between changing video mode and just using fullscreen window can be found in the web, but in short changing the video mode allows you to make rendering more direct and therefore faster but implies a number of limitations such as the one discussed above.

Ah, ok. I understand. Thank you!