mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
tinywl: fix xdg_toplevel_destroy() docs
This commit is contained in:
parent
73ab5246ea
commit
73a387d3b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue