From 0826117f77ae06fdb6d2f3e19f1440c155a82a85 Mon Sep 17 00:00:00 2001 From: Julian Orth Date: Thu, 22 Feb 2024 19:11:33 +0100 Subject: [PATCH] tree: damage screen after toggling fullscreen --- src/tree/toplevel.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tree/toplevel.rs b/src/tree/toplevel.rs index e1201b8b..00722bf4 100644 --- a/src/tree/toplevel.rs +++ b/src/tree/toplevel.rs @@ -394,6 +394,7 @@ impl ToplevelData { .tl_into_node() .node_do_focus(&seat, Direction::Unspecified); } + state.damage(); } pub fn unset_fullscreen(&self, state: &Rc, node: Rc) { @@ -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) {