xwayland: clear windows on shutdown
This commit is contained in:
parent
14e64711f1
commit
80f1310e3a
2 changed files with 2 additions and 0 deletions
|
|
@ -1006,6 +1006,7 @@ impl State {
|
|||
self.run_toplevel.clear();
|
||||
self.xwayland.handler.borrow_mut().take();
|
||||
self.xwayland.queue.clear();
|
||||
self.xwayland.windows.clear();
|
||||
self.idle.inhibitors.clear();
|
||||
self.idle.change.clear();
|
||||
for drm_dev in self.drm_devs.lock().drain_values() {
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ async fn run(
|
|||
state.ring.readable(&pidfd).await?;
|
||||
}
|
||||
state.xwayland.queue.clear();
|
||||
state.xwayland.windows.clear();
|
||||
stderr_read.await;
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue