Fix a number of typos in comments

This commit is contained in:
Ben Buhse 2026-02-22 17:51:17 -06:00
commit b9d13583ab
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
10 changed files with 24 additions and 17 deletions

View file

@ -33,7 +33,7 @@ pending_manage: PendingManage = .{},
/// State consumed in render() phase, reset at end of render().
pending_render: PendingRender = .{},
/// Used to put Windows into a list in calculatePrimaryStackLayout()
/// Used to put Windows into a list when calculating the layout
active_list_node: DoublyLinkedList.Node = .{},
link: wl.list.Link,
@ -298,7 +298,7 @@ pub fn manage(window: *Window) void {
window.floating_rect.y = window.rect.y;
}
}
// Layout (pre-computed by WindowManager.caluclateLayout())
// Layout (pre-computed by WindowManager
if (pending_manage.dimensions) |dimensions| {
window.rect.width = dimensions.width;
window.rect.height = dimensions.height;