Mode Exclusive - Viewerframe
To force classic exclusive mode:
Typically, a standard application has a main frame (the window) and a viewer (the rendering region). In shared mode, you can resize the viewerframe, drag it, or overlay UI on top of it. viewerframe mode exclusive
How does exclusive mode interact with a viewerframe? To force classic exclusive mode: Typically, a standard
One of the most powerful—yet often misunderstood—tools in this arsenal is the . Troubleshooting tip: If your VR headset shows "Compositor"
Fix: Implement a WM_ACTIVATEAPP handler (Win32) that forces ResetViewport() and re-issues the exclusive command when the window regains focus. If your viewerframe is on Monitor A (144Hz) and Monitor B (60Hz) has a video playing, the DWM may force shared mode on both to sync composition timing.
Troubleshooting tip: If your VR headset shows "Compositor" errors, you are likely dropping out of viewerframe mode exclusive due to background applications polling the display. Hardcore sim racers often run three monitors. Using Surround or Eyefinity creates a single massive viewerframe. However, if the simulator runs in borderless windowed mode (shared), you lose G-Sync compatibility.
Fix: Ensure your rendering resolution matches the screen's native resolution exactly (e.g., 1920x1080 on a 1920x1080 panel). When you alt+tab from an exclusive viewerframe, the GPU must tear down the exclusive context and rebuild the DWM surface. This causes a 1-3 second "black flash." That is normal. However, some engines fail to reacquire exclusive mode on return.