From 73a387d3b691e4fba7f91919d71780ce6c50a971 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Tue, 14 Nov 2023 19:40:26 +0300 Subject: [PATCH] tinywl: fix xdg_toplevel_destroy() docs --- tinywl/tinywl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c index 42dc3ad3..3ced9342 100644 --- a/tinywl/tinywl.c +++ b/tinywl/tinywl.c @@ -672,7 +672,7 @@ static void xdg_toplevel_unmap(struct wl_listener *listener, void *data) { } static void xdg_toplevel_destroy(struct wl_listener *listener, void *data) { - /* Called when the surface is destroyed and should never be shown again. */ + /* Called when the xdg_toplevel is destroyed. */ struct tinywl_toplevel *toplevel = wl_container_of(listener, toplevel, destroy); wl_list_remove(&toplevel->map.link);