fix destroynotify() docs

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4421
This commit is contained in:
Leonardo Hernández Hernández 2023-11-16 22:23:26 -06:00
parent 7bdbab0400
commit bca1b779aa
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -1122,7 +1122,7 @@ destroylocksurface(struct wl_listener *listener, void *data)
void
destroynotify(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. */
Client *c = wl_container_of(listener, c, destroy);
wl_list_remove(&c->destroy.link);
wl_list_remove(&c->set_title.link);