tree: correctly handle destruction of fullscreen node
This commit is contained in:
parent
439befcf78
commit
d4e9216f46
1 changed files with 1 additions and 2 deletions
|
|
@ -276,8 +276,7 @@ impl ContainingNode for WorkspaceNode {
|
||||||
}
|
}
|
||||||
if let Some(fs) = self.fullscreen.get() {
|
if let Some(fs) = self.fullscreen.get() {
|
||||||
if fs.tl_as_node().node_id() == child.node_id() {
|
if fs.tl_as_node().node_id() == child.node_id() {
|
||||||
self.discard_child_flags(&*fs);
|
self.remove_fullscreen_node();
|
||||||
self.fullscreen.set(None);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue