I want to create two or more windows with a mix of SFML and GLFW since that GLFW supports multi-monitors. I achieved rendering in two windows but the input is locked until I close one of both. I'm using ImGui to show buttons and options, and SFML to render the close, minimize and maximize buttons. The only thing that receives input is those buttons but only in the main window. What I do is the next:
- Create a GLFW window.
- Integrate SFML via Win32 to that window.
- Begin ImGui in the window and show a button to create the second window.
- I press the button and the input is locked after creating the new window.
- I close the second window and the main return to normality.