1
0
Fork 0
forked from wry/wry

Merge pull request #95 from mahkoh/jorth/fix-fullscreen

tree: correctly handle destruction of fullscreen node
This commit is contained in:
mahkoh 2024-02-17 18:40:25 +01:00 committed by GitHub
commit 0f4804d82c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}