aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-11-14 19:40:26 +0300
committerKirill Primak <vyivel@eclair.cafe>2023-11-14 19:40:26 +0300
commit73a387d3b691e4fba7f91919d71780ce6c50a971 (patch)
treee904df7594d54803dd26223e5afccd120febd470 /tinywl
parent73ab5246ea10ac152c026ca810b2bba0c4d6e48e (diff)
tinywl: fix xdg_toplevel_destroy() docs
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index 42dc3ad3..3ced9342 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -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);