aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorBaily <blitheshuo@gmail.com>2025-06-18 01:49:47 -0400
committerGitHub <noreply@github.com>2025-06-18 08:49:47 +0300
commited14e8da8476d5fde27b14d1dde03256a2f6e11b (patch)
treec5c1c4b6daf1f88539d495ab5a7056098a8d8358 /src/utils
parente53f8527b0517cf965961ae729b7dd631ed76db5 (diff)
downloadniri-ed14e8da8476d5fde27b14d1dde03256a2f6e11b.tar.gz
niri-ed14e8da8476d5fde27b14d1dde03256a2f6e11b.tar.bz2
niri-ed14e8da8476d5fde27b14d1dde03256a2f6e11b.zip
Fix typos (#1822)
* Fix: Correct typo in xwayland module and update documentation This commit includes several improvements: 1. **Code Fix (clippy):** - I corrected a typo in `src/utils/xwayland/mod.rs` from `OFlags::WRONGLY` to `OFlags::WRONLY`. This was identified by `clippy` during the build process. 2. **Documentation Updates:** - **README.md**: - I clarified the sentence about finding help in the Matrix channel to be more inviting for new users. - I corrected a future date typo in the Media section for an interview (June 2025 to June 2024). - **wiki/Getting-Started.md**: - I changed the Russian month "мая" to "May" in an example output for better international readability. - I improved keybinding notation for monitor focus/move keys (e.g., Mod+Shift+H / J / K / L) to avoid ambiguity. - I updated `apt-get` to `apt` in Ubuntu dependency installation commands for modern practice. No new typos were found by `typos-cli` in this pass. * Revert README&GS.md to previous version * Apply rustfmt --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs
index ac7cf6a1..6aab3b86 100644
--- a/src/utils/mod.rs
+++ b/src/utils/mod.rs
@@ -294,7 +294,7 @@ pub fn update_tiled_state(
// global and never reset to None).
//
// If the client bound a decoration global, use the mode that we negotiated. This way,
- // changing the decoration mode on the client at runtime will synchonize with the
+ // changing the decoration mode on the client at runtime will synchronize with the
// default tiled state.
if let Some(mode) = toplevel.with_pending_state(|state| state.decoration_mode) {
mode == zxdg_toplevel_decoration_v1::Mode::ServerSide