Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#163 glutMainLoop hangs when title bar clicked

closed-wont-fix
nobody
None
5
2013-04-05
2012-02-20
Gaszton
No

I am using windows xp, visual studio 2008, and the latest freeglut.
Seems like the glutMainLoop() is stopping, when i click the title bar of my window (to move the window).
Unfortunalty if i have 2 glut windows, both hangs while i hold down the mouse
button at the title bar of any of the 2 windows.

(there is an opengl windows app that is not using glut, also hangs when the window is moved with the mouse, http://nehe.gamedev.net/tutorial/bitmap_fonts/17002/\)

Discussion

    • status: open --> closed-wont-fix
     
  • It seems that the changes required for this to work around the windows modal loop that is entered when a title bar is click-held (same for other resize dragging) are significant. We wont fix this but would accept a patch (media players tend to not have this problem, so one could have a look at their draw during dragging implementation to see how they do this) if it doesn't have much effect on drawing when not dragging.