tinywl: fix xdg_toplevel_destroy() docs

This commit is contained in:
Kirill Primak 2023-11-14 19:40:26 +03:00
parent 73ab5246ea
commit 73a387d3b6
1 changed files with 1 additions and 1 deletions

View File

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