Skip to content

Commit

Permalink
[style] correct a typo in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
CheerfulPianissimo committed Apr 13, 2024
1 parent f0cd9f4 commit 78f022b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwayshot/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl WayshotConnection {
debug!("Unmapping and destroying layer shell surfaces.");
for (surface, layer_shell_surface) in layer_shell_surfaces.iter() {
surface.attach(None, 0, 0);
surface.commit(); //unmap surface by commiting a null buffer
surface.commit(); //unmap surface by committing a null buffer
layer_shell_surface.destroy();
}
event_queue.roundtrip(&mut state)?;
Expand Down

0 comments on commit 78f022b

Please sign in to comment.