Reproduce application pause

Hi everyone,



I have an application based on Simple Application and i noticed that when it loses the focus, it stops rendering.

I wanted to achieve this when i click in a certain key. How can i do this?



Regards,

Why do you double-post?



There’s already an answer in the first one Here.