Hi, I'm using libGdx to do a game, so far was so good, but I figured that if I move the window while the game is running (Example: I shoot and right after that I move the window with the cursor) the Render process stops, but all other process continues, the game don't stop entirely, that causes various problems, since it doesn't stop update methods some collisions get messed when I move the window, some keys freezes... any one know an work around? I read that it is a problem with Display implementation... so I tried to use JFrame to substituite it, but it doesn't worked well, messed all my game, resize gets really weird with JFrame... any tips? ty...

The problem was that this Display don't return false focus if the window is dragged, it still returns true...I found a workaround by checking if delta time is > 1, i don't think that frames will normally be that high...

Thanks for the answer, the cursor leaves the frustum is a nice ideia too, i will try to implement it...

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org