Hi, the monitor callback set with glfwSetMonitorCallback() is never fired on my system.
I have a nVidia GTX970 with 353.06 drivers on Win 7 x64.
I already tried this at the time with GLFW 3.1.2 but then I saw this was supposed to be fixed in 3.2, so I tried again but still doesn’t work.
[Win32] Bugfix: Monitor connection and disconnection events were not reported when no windows existed [Win32] Bugfix: Activating or deactivating displays in software did not trigger monitor callback
I tried from my own program but then I noticed the events.c test program is supposed to test the monitor attach/detach events too and report them, so I tried with that one too.
I tried to enable/disable a second monitor from the nVidia control panel, the monitor is seen/removed as expect from the OS but no event is fired in the events test program.
I also tried to physically connect/disconnect the monitor from the graphic card, no changes.
I also tried to manually call glfwGetMonitors() in my code (by pressing a function key) after I attached/detached the second monitor, but the list of reported monitors still doesn’t change and it’s always the one detected at the moment the program was launched.
If at least this manual refresh were working would be enough for me, even if not optimal like the callback.
I have to exit the program and relaunch it to make glfwGetMonitors() aware of the changed configuration.
Can anyone else confirm this ?