aboutsummaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
authorbbb651 <bar.ye651@gmail.com>2025-01-29 23:43:25 +0200
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-30 07:18:42 +0300
commit34679c75a4735b11a0a42509201e6ea57f260e27 (patch)
tree811269708423f6c5da187dcbea0d3d1e851b4f43 /src/layout
parent1d3820a064f1f3b686eb6e8a1aab155681a96457 (diff)
downloadniri-34679c75a4735b11a0a42509201e6ea57f260e27.tar.gz
niri-34679c75a4735b11a0a42509201e6ea57f260e27.tar.bz2
niri-34679c75a4735b11a0a42509201e6ea57f260e27.zip
misc: Fix typos
Using [`typos`](https://github.com/crate-ci/typos) cli
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs
index 264bb298..683592b2 100644
--- a/src/layout/mod.rs
+++ b/src/layout/mod.rs
@@ -3077,7 +3077,7 @@ impl<W: LayoutElement> Layout<W> {
target.previous_workspace_id = Some(target.workspaces[target.active_workspace_idx].id());
if target.options.empty_workspace_above_first && target.workspaces.len() == 1 {
- // Insert a new empty workspace on top to prepare for insertion of new workspce.
+ // Insert a new empty workspace on top to prepare for insertion of new workspace.
target.add_workspace_top();
}
// Insert the workspace after the currently active one. Unless the currently active one is
@@ -3159,7 +3159,7 @@ impl<W: LayoutElement> Layout<W> {
target.previous_workspace_id = Some(target.workspaces[target.active_workspace_idx].id());
if target.options.empty_workspace_above_first && target.workspaces.len() == 1 {
- // Insert a new empty workspace on top to prepare for insertion of new workspce.
+ // Insert a new empty workspace on top to prepare for insertion of new workspace.
target.add_workspace_top();
}
// Insert the workspace after the currently active one. Unless the currently active one is