Skip to content

Fix the clang-cl CI job and simplify the WM_NCCALCSIZE window check - #263

Merged
SineStriker merged 3 commits into
mainfrom
fix/ci-clang-cl-and-nccalcsize
Nov 28, 2026
Merged

SineStriker merged 3 commits into
mainfrom
fix/ci-clang-cl-and-nccalcsize

Conversation

@SineStriker

Copy link
Copy Markdown
Contributor

CI

  • Run CI on pull requests against main, in addition to pushes to main and manual dispatch.
  • Fix the windows-clang-cl job, which has failed on main since 2026-11-19. The windows-latest image moved to Visual Studio 18 with MSVC 14.52, whose STL rejects Clang older than 22 with STL1000: Unexpected compiler version, expected Clang 22 or newer. The job picked up the standalone LLVM of the runner image, which precedes the LLVM of Visual Studio on the path. The job now puts the LLVM of Visual Studio first and fails if clang-cl resolves anywhere else. The other jobs were unaffected.

win32

  • Compare lastMessageContext->windowId() with msg->hwnd instead of looking up g_wndProcHash when deciding whether to handle WM_NCCALCSIZE, and link UI Artifacts #256 in the comment. A context is registered in g_wndProcHash under its own window ID, therefore the two checks are equivalent.

The win32 change has not been compiled locally because the author's machine for this change is macOS. The Windows jobs of this pull request are its first build.

@SineStriker
SineStriker merged commit a5728ca into main Nov 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant