From 78f022baf6d1cc385a4126043d9fa243b0ca4dbb Mon Sep 17 00:00:00 2001 From: CheerfulPianissimo Date: Sat, 13 Apr 2024 11:15:36 +0530 Subject: [PATCH] [style] correct a typo in the comments --- libwayshot/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwayshot/src/lib.rs b/libwayshot/src/lib.rs index bca52bce..f890c25c 100644 --- a/libwayshot/src/lib.rs +++ b/libwayshot/src/lib.rs @@ -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)?;