diff --git a/komorebi/src/border_manager/mod.rs b/komorebi/src/border_manager/mod.rs index 71f760573..48271b5f2 100644 --- a/komorebi/src/border_manager/mod.rs +++ b/komorebi/src/border_manager/mod.rs @@ -89,7 +89,7 @@ pub fn destroy_all_borders() -> color_eyre::Result<()> { ); for (_, border) in borders.iter() { - border.destroy()?; + let _ = border.destroy(); } borders.clear(); @@ -107,7 +107,7 @@ pub fn destroy_all_borders() -> color_eyre::Result<()> { tracing::info!("purging unknown borders: {:?}", remaining_hwnds); for hwnd in remaining_hwnds { - Border::from(hwnd).destroy()?; + let _ = Border::from(hwnd).destroy(); } }