Make App render if not focused/active

Monkey Targets Forums/Desktop/Make App render if not focused/active

chimaera(Posted 2016) [#1]
Hi all,

I am writing an app that I want to be able to use without having it in focus (in windowed mode). When I run the app it seems to correctly update itself, but not rendering it while the window is not in focus.

I have been reading about the different "On"-commands but can't seem to find the thing I am looking for. Any ideas?

Thanks!


PixelPaladin(Posted 2016) [#2]
By default the application suspends if it looses focus. You can disable this behavior with the following preprocessor command:

#MOJO_AUTO_SUSPEND_ENABLED=False



chimaera(Posted 2016) [#3]
Thanks, Pixel Paladin!