Suspend the title when the fallback window closes #3888
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3888
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Yoruiopz on GitHub · 2026-11-30 10:35 UTC · original
Yoruiopz:fix/fallback-window-title-shutdown→main· +52 −3 · 4 files · 1 commits · openWhat 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.