fix(gpu): skip tool, noactivate, and child windows in title_window #657

Open
hajduzsolt wants to merge 1 commit from upstream-pr/657 into a-publier
hajduzsolt commented 2026-11-27 16:35:28 +00:00 (Migrated from github.com)

Imported from Belobug/VIctory-Belobug-AMD. Originally posted by hajduzsolt on 2026-11-27T16:35:28Z.


Skip WS_EX_TOOLWINDOW, WS_EX_NOACTIVATE, and WS_CHILD windows in title_window() so GPU/driver overlay or helper windows are not picked instead of the title's main application window.

AI-assisted. Verified with cargo check --locked -p victory-gpu --tests and tested on Windows 11 with AMD Radeon RX 9070 XT.

<!-- greyfinch-sync:Belobug/VIctory-Belobug-AMD:issue:5530004478 --> Imported from [Belobug/VIctory-Belobug-AMD](https://github.com/Belobug/VIctory-Belobug-AMD/pull/657). Originally posted by [hajduzsolt](https://github.com/hajduzsolt) on 2026-11-27T16:35:28Z. --- Skip `WS_EX_TOOLWINDOW`, `WS_EX_NOACTIVATE`, and `WS_CHILD` windows in `title_window()` so GPU/driver overlay or helper windows are not picked instead of the title's main application window. AI-assisted. Verified with `cargo check --locked -p victory-gpu --tests` and tested on Windows 11 with AMD Radeon RX 9070 XT.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/657:upstream-pr/657'
git switch 'upstream-pr/657'

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.

git switch 'a-publier'
git merge --no-ff 'upstream-pr/657'
git switch 'upstream-pr/657'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/657'
git switch 'upstream-pr/657'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'upstream-pr/657'
git switch 'a-publier'
git merge --squash 'upstream-pr/657'
git switch 'a-publier'
git merge --ff-only 'upstream-pr/657'
git switch 'a-publier'
git merge 'upstream-pr/657'
git push origin 'a-publier'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Belobug/VIctory-Belobug-AMD!657
No description provided.