How do i check if the mouse is outside my app window?

hi,



lets say my app is 100px 100px width an height and my mouse is set to visible=true and i want to check if the mouse is inside this width and height ( > 0 and < 100).

If the cursor leaves the window the last position the app notices is always something < 100, it doesnt update the position outside of the app window.



How do i check if the mouse is outside my app window?

LWJGL actually supports this feature called negative mouse coordinates… Perhaps it can be used to determine if a mouse is outside the screen