1
0
Fork 0
forked from wry/wry

xwayland: destroy stack_link on window destroy

This commit is contained in:
Julian Orth 2022-06-06 17:14:52 +02:00
parent b89d72fcd9
commit a39d1868f7

View file

@ -1882,6 +1882,7 @@ impl Wm {
};
// log::info!("xwm destroy_notify {}", event.window);
data.destroyed.set(true);
data.stack_link.borrow_mut().take();
if let Some(sid) = data.surface_id.take() {
self.windows_by_surface_id.remove(&sid);
}