Skip to content

fix(winapi): add Win32_UI_Input_KeyboardAndMouse feature for IsWindowEnabled#7

Merged
frankieg33 merged 1 commit into
mainfrom
fix/is-window-enabled-import
May 14, 2026
Merged

fix(winapi): add Win32_UI_Input_KeyboardAndMouse feature for IsWindowEnabled#7
frankieg33 merged 1 commit into
mainfrom
fix/is-window-enabled-import

Conversation

@frankieg33

Copy link
Copy Markdown
Owner

Summary

  • IsWindowEnabled moved to Win32::UI::Input::KeyboardAndMouse in the windows 0.58 crate, causing a compile error on the updated dependency set pulled in from main
  • Adds Win32_UI_Input_KeyboardAndMouse to the feature list in Cargo.toml
  • Adds an explicit use windows::Win32::UI::Input::KeyboardAndMouse::IsWindowEnabled import in winapi.rs (the wildcard WindowsAndMessaging::* no longer covers it)

Test plan

  • cargo build --release --target x86_64-pc-windows-gnu succeeds with no errors
  • cargo check passes on Linux (stub path compiles)
  • cargo test passes

…IsWindowEnabled

IsWindowEnabled moved to Win32::UI::Input::KeyboardAndMouse in windows 0.58,
breaking compilation. Add the feature flag to Cargo.toml and import explicitly.
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@frankieg33

Copy link
Copy Markdown
Owner Author

@codex review

@frankieg33

Copy link
Copy Markdown
Owner Author

/gemini review

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@frankieg33 frankieg33 merged commit c6eb14b into main May 14, 2026
1 check passed
@frankieg33 frankieg33 deleted the fix/is-window-enabled-import branch May 14, 2026 00:52
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