mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-24 21:55:58 +01: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) {
|
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…
Reference in a new issue