shell: Handle unmapped windows correctly
This commit is contained in:
parent
aaa40df963
commit
973cfed87b
8 changed files with 175 additions and 51 deletions
|
|
@ -382,6 +382,9 @@ impl XdgShellHandler for State {
|
|||
}
|
||||
|
||||
fn toplevel_destroyed(&mut self, surface: ToplevelSurface) {
|
||||
let seat = self.common.last_active_seat().clone();
|
||||
self.common.shell.unmap_surface(surface.wl_surface(), &seat);
|
||||
|
||||
let output = self
|
||||
.common
|
||||
.shell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue