How to update with inactive window

Monkey Targets Forums/Desktop/How to update with inactive window

chimaera(Posted 2014) [#1]
Hi guys,

I was just wondering if there is a way when compiling for GLFW to make sure that the game/app continues even though the window is not active.

Thanks!


ziggy(Posted 2014) [#2]
Yes, there's a flag for this.

By default:

#MOJO_AUTO_SUSPEND_ENABLED=True 'Set to True to cause app to suspend when desktop window loses focus

Just set it to false.