Skip to content

Commit 84cad36

Browse files
committed
fix: close functionality
1 parent 608a959 commit 84cad36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/wayland/xdg/toplevel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ impl XdgToplevel for Toplevel {
195195
}
196196

197197
async fn destroy(&self, _client: &mut Client, _sender_id: ObjectId) -> Result<()> {
198+
self.mapped.lock().take();
198199
Ok(())
199200
}
200201
}

0 commit comments

Comments
 (0)