fix(wayland/toplevel): don't unwrap

This commit is contained in:
Nova
2025-09-01 20:36:19 -07:00
parent d9a6ca9bef
commit a5b4939b57

View File

@@ -148,11 +148,10 @@ impl Toplevel {
.collect(), .collect(),
) )
.await?; .await?;
self.xdg_surface if let Some(xdg_surface) = self.xdg_surface.upgrade() {
.upgrade() xdg_surface.reconfigure(client).await?;
.unwrap() }
.reconfigure(client) Ok(())
.await
} }
} }
impl XdgToplevel for Toplevel { impl XdgToplevel for Toplevel {