opengl - How can I check if the display is selected? -


i'd check if lwjgl display selected or not, i.e. if in foreground.

is there display.isinforeground() method?

display#isactive

returns: true if window active, is, foreground display of operating system.

or if using lwjgl 3 , glfw equivalent glfwgetwindowattrib glfw_focused.


Comments

Popular posts from this blog

angularjs - Showing an empty as first option in select tag -

qt - Change color of QGraphicsView rubber band -

c++ - Visible files in the "Projects" View of the Qt Creator IDE if using the CMake build system -