Is there a way to detect when the program doesn’t have focus? If so, how?
http://lwjgl.org/javadoc/org/lwjgl/opengl/Display.html#isActive()
Perfect, thank you.