Suspend the title when the fallback window closes #3888
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3888"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Yoruiopz on 2026-11-30T10:35:25Z.
What it changes
When the renderer finds no visible title window, it creates one for presentation. Its default window procedure could destroy that window on close while the title continued rendering in the background. This reproduced twice on official v2026.11.29.05.
Register the HLE shutdown callback before creating the graphics device. The presenter's fallback window invokes it on WM_CLOSE or SC_CLOSE, releasing input capture and using the existing asynchronous title suspension and exit path. Without a registered title callback, close dispatch continues through the default window procedure.
How it was tested
Checked for overlap
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.