Merge pull request #95 from mahkoh/jorth/fix-fullscreen
tree: correctly handle destruction of fullscreen node
This commit is contained in:
commit
0f4804d82c
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 fs.tl_as_node().node_id() == child.node_id() {
|
||||
self.discard_child_flags(&*fs);
|
||||
self.fullscreen.set(None);
|
||||
self.remove_fullscreen_node();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue