Maintain Variable Refresh Rate while application is not in focus

Hey all,

Curious if it is possible to have an application maintain and/or force variable refresh rates while a application is not in focus? So far I have tried DirectX 11, DirectX 12 and Vulkan with no luck. Would this be possible with either windows desktop manager and/or a custom compositor?

Hi @bderry,

what would be the purpose for this?

I also think the only option would be to modify the compositor or window manager to accept Display related API calls to go through from non-focus apps.