You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documents XCL_WINDOW_POS, which the README did not mention. README-only change. No issue.
What is in it
README.md: one new bullet under "Switches for how a title runs", after the XCL_WAIT_TIMEOUT_MS / XCL_GPU_WAIT_TIMEOUT_MS bullet, stating that XCL_WINDOW_POS overrides the window_pos setting for where the title window opens: auto (the default) lets Windows place it, center centers it on the primary monitor's work area, x,y puts its top-left corner there clamped into the nearest monitor's work area, and anything else logs a warning and falls back to auto.
Tested
Verified against crates/xcl/src/hle/d3d12x/present.rs at main d0832e6: window_position() reads XCL_WINDOW_POS first and falls back to the window_pos setting (default "auto" in crates/xcl/src/config.rs); empty or auto returns CW_USEDEFAULT, center centers on the primary monitor's work area, x,y is clamped into the nearest monitor's work area, and an unparsable value logs a warning and uses auto. Confirmed the variable had no mention in README.md at that commit and searched open and closed PRs and issues for a duplicate; none found.
Regression run
main: n/a (docs-only)
PR: n/a (docs-only)
Not tested
No local build or test run; README-only change. Windows build, cargo test --workspace, the GPU suite, and any retail title were not run.
AI use
AI-assisted (Muse Spark): read the code, checked for duplicate PRs, and prepared this docs change. No test results were produced by the tool.
Review (head 42dd7f2, diff read, not a merge-check; draft, docs only):
The new bullet (README line 360) starts with - at column 0, which puts it outside the "Switches for how a title runs" list rather than inside it as the description says; indent it as - with 4-space continuation lines.
"the window_pos setting" could say it's a key in the title's xcl.toml (the README doesn't mention it anywhere else).
Fine: the default, accepted values, clamping and the warning fallback match window_position() in present.rs on main (empty or auto -> Windows' default, center -> primary monitor's work area, x,y clamped into the nearest monitor, anything else warns and uses auto); no trailing whitespace; line lengths match the neighbours; no other PR documents this variable.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
No open or merged PR documents XCL_WINDOW_POS in the README. The text matches present.rs::window_position on main: auto, center on the primary monitor's work area, x,y clamped to the nearest monitor, and a warning with a fallback to auto otherwise.
One formatting point: the new item starts with - at the top level, but the items around it (XCL_WAIT_TIMEOUT_MS …) sit under "Switches for how a title runs" with -, so it renders outside that list. It also edits the same README lines as #3560 and the author's other README PRs, so these will conflict with each other.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents
XCL_WINDOW_POS, which the README did not mention. README-only change. No issue.What is in it
README.md: one new bullet under "Switches for how a title runs", after theXCL_WAIT_TIMEOUT_MS/XCL_GPU_WAIT_TIMEOUT_MSbullet, stating thatXCL_WINDOW_POSoverrides thewindow_possetting for where the title window opens:auto(the default) lets Windows place it,centercenters it on the primary monitor's work area,x,yputs its top-left corner there clamped into the nearest monitor's work area, and anything else logs a warning and falls back toauto.Tested
crates/xcl/src/hle/d3d12x/present.rsat main d0832e6:window_position()readsXCL_WINDOW_POSfirst and falls back to thewindow_possetting (default"auto"incrates/xcl/src/config.rs); empty orautoreturns CW_USEDEFAULT,centercenters on the primary monitor's work area,x,yis clamped into the nearest monitor's work area, and an unparsable value logs a warning and usesauto. Confirmed the variable had no mention in README.md at that commit and searched open and closed PRs and issues for a duplicate; none found.Regression run
main: n/a (docs-only)
PR: n/a (docs-only)
Not tested
cargo test --workspace, the GPU suite, and any retail title were not run.AI use