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

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

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

php - Cloud9 cloud IDE and CakePHP -