Skip to content

Commit

Permalink
Merge pull request #95 from mahkoh/jorth/fix-fullscreen
Browse files Browse the repository at this point in the history
tree: correctly handle destruction of fullscreen node
  • Loading branch information
mahkoh authored Feb 17, 2024
2 parents 439befc + d4e9216 commit 0f4804d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tree/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 0f4804d

Please sign in to comment.