xwayland: destroy stack_link on window destroy
This commit is contained in:
parent
b89d72fcd9
commit
a39d1868f7
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue