Original Post
Hi. I'm slowly learning Glut and OpenGL. I can make a window and set the callbacks, and everything seems to be working great. But is there any way to detect when the user has exited the main window (or a sub window, for that matter) with the close button? Also, when the window is exited, does glutMainLoop() return? (it says never ending, but it might be 'never ending while there is a window' or something. Figured I'd ask.) Thanks, t