summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compositor/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compositor/shell.c b/compositor/shell.c
index 3a71697..7bae944 100644
--- a/compositor/shell.c
+++ b/compositor/shell.c
@@ -834,7 +834,7 @@ handle_lock_surface_destroy(struct wl_listener *listener,
struct wl_resource *resource, uint32_t time)
{
struct wl_shell *shell =
- container_of(listener, struct wl_shell, panel_listener);
+ container_of(listener, struct wl_shell, lock_surface_listener);
fprintf(stderr, "lock surface gone\n");
shell->lock_surface = NULL;