Skip to content

Commit

Permalink
tree: correctly handle destruction of fullscreen node
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Feb 17, 2024
1 parent 439befc commit d4e9216
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 d4e9216

Please sign in to comment.