PollEvents, WaitEvents and CloseWindowCallbac

nobody wrote on Wednesday, June 25, 2008:

I write a wrapper for VASmalltalk around GLFW. I used several callbacks - which work - and especially I looked for SetWindowClose callback.

Then - for testing purposes - I call glfwPollEvents in a polling method, but never received the WindowClose callback - other callbacks were executed like WindowSize or WindowRefresh.

Then I changed my polling method to use glfwWaitEvents and then I got the WindowClose event.

But I noticed, that I had to double-click the close widget on my host windows (MS Vista) - which does not seems to conform to the normal GUI-behaviour ?

Marten Feldtmann