I am using Ubuntu and want to leave full screen mode for a while and then go back to full screen again. I am not sure how to best do this. I tried the following:
glfwCloseWindow();
while(glfwGetWindowParam(GLFW_OPENED)) {
glfwPollEvents();
}
Immediately after this, the window is still open. How can I find out when the window has actually closed?
There is the same problem if I try glfwIconifyWindow().