diff --git a/src/changelog/v0.29.md b/src/changelog/v0.29.md index 4558dd609..fc17f1701 100644 --- a/src/changelog/v0.29.md +++ b/src/changelog/v0.29.md @@ -250,7 +250,7 @@ - On Web, fix some `WindowBuilder` methods doing nothing. - On Web, fix some `Window` methods using incorrect HTML attributes instead of CSS properties. - On Web, fix the bfcache by not using the `beforeunload` event and map bfcache loading/unloading to `Suspended`/`Resumed` events. -- On Web, fix touch input not gaining or loosing focus. +- On Web, fix touch input not gaining or losing focus. - On Web, fix touch location to be as accurate as mouse position. - On Web, handle coalesced pointer events, which increases the resolution of pointer inputs. - On Web, implement `Window::focus_window()`. diff --git a/src/platform_impl/linux/wayland/seat/keyboard/mod.rs b/src/platform_impl/linux/wayland/seat/keyboard/mod.rs index ef4f99520..f84c38673 100644 --- a/src/platform_impl/linux/wayland/seat/keyboard/mod.rs +++ b/src/platform_impl/linux/wayland/seat/keyboard/mod.rs @@ -99,7 +99,7 @@ impl Dispatch for WinitState { WlKeyboardEvent::Leave { surface, .. } => { let window_id = wayland::make_wid(&surface); - // NOTE: we should drop the repeat regardless whethere it was for the present + // NOTE: we should drop the repeat regardless whether it was for the present // window of for the window which just went gone. keyboard_state.current_repeat = None; if let Some(token) = keyboard_state.repeat_token.take() { diff --git a/src/platform_impl/windows/event_loop.rs b/src/platform_impl/windows/event_loop.rs index 1fe748c67..2a615e7b4 100644 --- a/src/platform_impl/windows/event_loop.rs +++ b/src/platform_impl/windows/event_loop.rs @@ -738,7 +738,7 @@ fn wait_for_messages_impl( unsafe { // Either: - // 1. User wants to wait indefinely if timeout is not set. + // 1. User wants to wait indefinitely if timeout is not set. // 2. We failed to get and set high resolution timer and we need something instead of it. let wait_duration_ms = timeout.map(dur2timeout).unwrap_or(INFINITE); diff --git a/src/platform_impl/windows/keyboard.rs b/src/platform_impl/windows/keyboard.rs index 59c4931a6..9c109490e 100644 --- a/src/platform_impl/windows/keyboard.rs +++ b/src/platform_impl/windows/keyboard.rs @@ -465,7 +465,7 @@ enum PartialText { enum PartialLogicalKey { /// Use the text provided by the WM_CHAR messages and report that as a `Character` variant. If - /// the text consists of multiple grapheme clusters (user-precieved characters) that means that + /// the text consists of multiple grapheme clusters (user-perceived characters) that means that /// dead key could not be combined with the second input, and in that case we should fall back /// to using what would have without a dead-key input. TextOr(Key),