Skip to content

Commit b35bcae

Browse files
committed
Fix typos in comments
1 parent 284c233 commit b35bcae

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

src/handlers/layer_shell.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl State {
191191

192192
layer.layer_surface().send_configure();
193193
}
194-
// If we already sent an initial configure, then map.arange() above had just sent
194+
// If we already sent an initial configure, then map.arrange() above had just sent
195195
// it a new configure, if needed.
196196
}
197197
}

src/layout/scrolling.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ impl<W: LayoutElement> ScrollingSpace<W> {
25622562
if tile.window().id() == id {
25632563
// In the scrolling layout, we try to position popups horizontally within the
25642564
// window geometry (so they remain visible even if the window scrolls flush with
2565-
// the left/right edge of the screen), and vertically wihin the whole parent
2565+
// the left/right edge of the screen), and vertically within the whole parent
25662566
// working area.
25672567
let width = tile.window_size().w;
25682568
let height = self.parent_area.size.h;
@@ -4219,7 +4219,7 @@ impl<W: LayoutElement> Column<W> {
42194219
//
42204220
// 2. Unfullscreening a tabbed column with multiple tiles should restore the view offset
42214221
// correctly. This means waiting for *all* tiles to unfullscreen, because otherwise the
4222-
// restored view offset will immediately get overwritted by the still screen-wide column
4222+
// restored view offset will immediately get overwritten by the still screen-wide column
42234223
// (it uses the largest tile's width).
42244224
//
42254225
// 3. Changing a fullscreen tabbed column to normal should probably also restore the view

src/ui/mru.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,7 @@ impl WindowMruUi {
11441144
// offscreens showing the same window (possibly in addition to the window
11451145
// itself).
11461146
//
1147-
// Anyhow, this is not very noticable since Alt-Tab closing happens quickly.
1147+
// Anyhow, this is not very noticeable since Alt-Tab closing happens quickly.
11481148
Some(WindowMruUiRenderElement::Offscreen(elem.with_alpha(alpha)))
11491149
}
11501150
Err(err) => {

typos.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1+
[default]
2+
extend-ignore-re = [
3+
"systemd-localed",
4+
]
5+
6+
[default.extend-identifiers]
7+
WRONLY = "WRONLY"
8+
19
[default.extend-words]
210
datas = "datas"

0 commit comments

Comments
 (0)