diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d357e0e..c7bcd96c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ And please only add new entries to the top of this list, right below the `# Unre # Unreleased +- On Windows, fix the value in `MouseButton::Other`. - On macOS, add `WindowExtMacOS::is_document_edited` and `WindowExtMacOS::set_document_edited` APIs. - **Breaking:** Removed `WindowBuilderExtIOS::with_root_view_class`; instead, you should use `[[view layer] addSublayer: ...]` to add an instance of the desired layer class (e.g. `CAEAGLLayer` or `CAMetalLayer`). See `vulkano-win` or `wgpu` for examples of this. - On MacOS and Windows, add `Window::set_content_protected`. diff --git a/src/platform_impl/windows/mod.rs b/src/platform_impl/windows/mod.rs index 4e0a07a8..0835e7aa 100644 --- a/src/platform_impl/windows/mod.rs +++ b/src/platform_impl/windows/mod.rs @@ -120,7 +120,7 @@ impl From for WindowId { #[inline(always)] const fn get_xbutton_wparam(x: u32) -> u16 { - loword(x) + hiword(x) } #[inline(always)]