tinywl: fix xdg_toplevel_destroy() docs

master
Kirill Primak 1 year ago
parent 73ab5246ea
commit 73a387d3b6

@ -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) { 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); struct tinywl_toplevel *toplevel = wl_container_of(listener, toplevel, destroy);
wl_list_remove(&toplevel->map.link); wl_list_remove(&toplevel->map.link);

Loading…
Cancel
Save