Alt-tab (focus lost) results in no more frame updates?

Hi folks, right now I’m my app is based off of SimpleApplication, and I noticed that if I alt-tab out of the app, the frame loop stops renderings.



Is there anyway to keep the frame loop operating after the JMonkey Windows loses focus?



or perhaps to ‘force’ a manual update without having to switch focus back?



thanx

By default, JME goes to sleep when it doesn’t have the focus. It kind of “pauses” when it loses focus.



As an exercise for the ready, I will see if you can find how to stop that with this hint:

http://hub.jmonkeyengine.org/javadoc/com/jme3/app/Application.html

Ahh, worked like charm, thanks for the hint :slight_smile:



(setPauseOnLostFocus())