aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handlers/xdg_shell.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/handlers/xdg_shell.rs b/src/handlers/xdg_shell.rs
index 5f1c582e..686c5525 100644
--- a/src/handlers/xdg_shell.rs
+++ b/src/handlers/xdg_shell.rs
@@ -145,6 +145,14 @@ impl XdgShellHandler for Niri {
});
surface.send_pending_configure();
}
+
+ fn toplevel_destroyed(&mut self, _surface: ToplevelSurface) {
+ self.queue_redraw();
+ }
+
+ fn popup_destroyed(&mut self, _surface: PopupSurface) {
+ self.queue_redraw();
+ }
}
// Xdg Shell