summaryrefslogtreecommitdiffstats
path: root/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md
diff options
context:
space:
mode:
Diffstat (limited to '_posts/2018-02-17-Writing-a-Wayland-compositor-1.md')
-rw-r--r--_posts/2018-02-17-Writing-a-Wayland-compositor-1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md b/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md
index a7cab54..cb33cf2 100644
--- a/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md
+++ b/_posts/2018-02-17-Writing-a-Wayland-compositor-1.md
@@ -260,7 +260,7 @@ output is unplugged or otherwise removed from wlroots. Our handler looks like
this:
```diff
-+static void output_remove_notify(struct wl_listener *listener, void *data) {
++static void output_destroy_notify(struct wl_listener *listener, void *data) {
+ struct mcw_output *output = wl_container_of(listener, output, destroy);
+ wl_list_remove(&output->link);
+ wl_list_remove(&output->destroy.link);