xwayland: destroy map_link on window destroy
This commit is contained in:
parent
a39d1868f7
commit
f7320d2332
1 changed files with 1 additions and 0 deletions
|
|
@ -1883,6 +1883,7 @@ impl Wm {
|
|||
// log::info!("xwm destroy_notify {}", event.window);
|
||||
data.destroyed.set(true);
|
||||
data.stack_link.borrow_mut().take();
|
||||
data.map_link.take();
|
||||
if let Some(sid) = data.surface_id.take() {
|
||||
self.windows_by_surface_id.remove(&sid);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue