Full screen window keeps iconifying


#1

I have a multi-screen set-up in Windows 10. I am creating a rendered program where I devote one of my displays as the rendered window (and I want to render to this window in full screen mode). I also use a console window to interact with my program (e.g. to change what gets rendered, etc) I am able to successfully create this window and my program starts up just fine. However, every time I click outside of this window - e.g. in my console window or even on the desktop), my main full-screen rendering window iconifies. I can’t figure out how to prevent this from happening. Does anyone know how to prevent this from happening?


#2

See the GLFW_AUTO_ICONIFY window hint.


#3

Thanks @elmindreda - that was it!