Skip to content

Commit

Permalink
tree: damage screen after toggling fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Feb 22, 2024
1 parent fe804b8 commit 0826117
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tree/toplevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ impl ToplevelData {
.tl_into_node()
.node_do_focus(&seat, Direction::Unspecified);
}
state.damage();
}

pub fn unset_fullscreen(&self, state: &Rc<State>, node: Rc<dyn ToplevelNode>) {
Expand Down Expand Up @@ -438,6 +439,7 @@ impl ToplevelData {
fd.placeholder
.node_seat_state()
.destroy_node(fd.placeholder.deref());
state.damage();
}

pub fn set_visible(&self, node: &dyn Node, visible: bool) {
Expand Down

0 comments on commit 0826117

Please sign in to comment.