MouseTest demo minor oddness

Started by ouattwtym, March 13, 2011, 14:42:45

Previous topic - Next topic

ouattwtym

regarding:
http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/test/input/MouseTest.java?revision=3418&content-type=text%2Fplain&pathrev=HEAD

that unexplained "// secondary check" seems odd. If you get rid of it then quitting using the ESC key stops working ... which seems even odder.

I think the problem is that handleWindow() overwrites closing rather than just setting it. If you fix that the strange secondary check can be removed without breaking anything.

Is that an actual documentation bug? Should I put it in an issue-tracker somewhere?