aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_xdg_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_xdg_output.c b/types/wlr_xdg_output.c
index 1a3bba2c..ad62fe11 100644
--- a/types/wlr_xdg_output.c
+++ b/types/wlr_xdg_output.c
@@ -199,7 +199,7 @@ static void handle_layout_change(struct wl_listener *listener, void *data) {
static void handle_layout_destroy(struct wl_listener *listener, void *data) {
struct wlr_xdg_output_manager *manager =
- wl_container_of(listener, manager, layout_change);
+ wl_container_of(listener, manager, layout_destroy);
wlr_xdg_output_manager_destroy(manager);
}