1
0
Fork 0
forked from wry/wry

autocommit 2022-04-23 00:55:20 CEST

This commit is contained in:
Julian Orth 2022-04-23 00:55:20 +02:00
parent 436f383cd6
commit e3b3d848c3
32 changed files with 1773 additions and 2451 deletions

View file

@ -20,7 +20,7 @@ use {
xdg_wm_base::XdgWmBase,
},
object::{Object, ObjectId},
tree::SizedNode,
tree::ToplevelNode,
utils::{
clonecell::CloneCell,
copyhashmap::{CopyHashMap, Locked},
@ -81,7 +81,7 @@ impl Objects {
{
let mut toplevel = self.xdg_toplevel.lock();
for obj in toplevel.values_mut() {
obj.destroy_node(true);
obj.tl_destroy();
}
mem::take(toplevel.deref_mut());
}