Open 0xSPIRIT opened 1 year ago
Maybe a workaround for you could be to call SDL_RaiseWindow in your code https://wiki.libsdl.org/SDL2/SDL_RaiseWindow
I had the same problem. I am using Raylib and calling SetWindowFocused() fixed it for me. SetWindowFocused seems to either call glfwFocusWindow or SDL_RaiseWindow https://github.com/search?q=repo%3Araysan5/raylib%20SetWindowFocused&type=code
Yeah that's what I did back when I had this issue :)
Version: Release 0.43.4
On Windows, when debugging any C program (win64) that creates a window, the console output window is raised to the top automatically, over my window. I've tested this with using SDL2 and the Win32 API itself to create the window.
It's just a bit annoying to need to alt-tab to my window every time I debug.
Here's some screenshots showing what I mean.