vaderz wrote on Thursday, November 28, 2013:
Hi, Iconify then restore multiple window at the same time like below will result only one window to be restored.
{code}
GLFWwindow* window;
GLFWwindow* window2;
window = glfwCreateWindow(640, 480, “I wont come back”, NULL, NULL);
window2 = glfwCreateWindow(640, 480, “I will come back”, NULL, NULL);
//Some code here…
glfwIconifyWindow(window);
glfwIconifyWindow(window2);
//Some code here…
glfwRestoreWindow(window);
glfwRestoreWindow(window2);
{/code}
But Twisting the Iconify order will result both window to be restored just fine.
{code}
GLFWwindow* window;
GLFWwindow* window2;
window = glfwCreateWindow(640, 480, “I will come back”, NULL, NULL);
window2 = glfwCreateWindow(640, 480, “I will come back too”, NULL, NULL);
//Some code here…
glfwIconifyWindow(window2);
glfwIconifyWindow(window);
//Some code here…
glfwRestoreWindow(window);
glfwRestoreWindow(window2);
{/code}
If i am wrong and this is not a bug, or i f**d up something let me know.
Update: Win 7 x64, glfw 3.0.3, mingw4.8.1