Make the VIctory game window borderless by default #1723
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1724"
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 Marvisak/VIctory. Originally posted by gmankab on 2026-11-24T21:23:49Z.
window border looks very not pretty on linux wayland
commit removes it
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-24T21:26:21Z.
Review: APPROVED
Verified locally merged onto
origin/main(Windows 11 x64, NVIDIA GeForce RTX 5090 + WARP, Rust 1.98.1 MSVC):cargo test -p victory-gpu— 50 passed, 0 failed (1 ignored) on both RTX 5090 hardware andVICTORY_D3D12_WARP=1cargo clippy -p victory-gpu --all-targets— 0 warningscargo xtask policy— okClean borderless-by-default window style configuration in
host.rs. Looks good.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T21:36:42Z.
Review: COMMENTED
Static review only: this crate is Windows-only (D3D12/windows_sys/Win32) — nothing compiles or runs on macOS; source review of the diff.
Borderless game window by default: strips WS_CAPTION|WS_THICKFRAME via SetWindowLongPtrW, applies SWP_FRAMECHANGED|NOMOVE|NOSIZE|NOZORDER|NOACTIVATE, and rolls back the style if SetWindowPos fails. Rollback-on-failure is the right touch. One question: does anything later (mode switches, #1701's display-mode override) re-add the frame styles or assume they exist?
Pull request closed