SFML community forums

Help => Window => Topic started by: Allptraum on February 28, 2021, 03:02:37 pm

Title: Force window updates whilst minimized?
Post by: Allptraum on February 28, 2021, 03:02:37 pm
Can i somehow force my sfml window to update all the time?
At the moment it freezes whenever it gets minimized.

I like to make custom OBS widgets with sfml, minimize them, and add a window capture in OBS for them. But they have to be open for them to actually update.

Is there some way to tell, either windows or sfml, to just update anyways?

Lg
Title: Re: Force window updates whilst minimized?
Post by: eXpl0it3r on April 28, 2021, 09:44:11 am
It is kind of out of SFML's control whether the window manager decides to update or not a hidden/minized window.

As for OBS captures, last time someone had such an issue, the solution is to capture the window as "game capture", which the hooks directly into the rendering pipeline and doesn't depend on the window manager's repainting.