From 6cf9b01e8803c1ae6e46b9a4d56c2962b4197a3f Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Tue, 9 Jul 2013 12:12:49 +0100 Subject: [PATCH] tablet-shell: Fix copy and paste error in unlock handler The signal handler was using the wrong member to find the containing structure of the unlock listener. https://bugs.freedesktop.org/show_bug.cgi?id=57637 --- src/tablet-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tablet-shell.c b/src/tablet-shell.c index fdeb8565..192abc77 100644 --- a/src/tablet-shell.c +++ b/src/tablet-shell.c @@ -415,7 +415,7 @@ static void tablet_shell_unlock(struct wl_listener *listener, void *data) { struct tablet_shell *shell = - container_of(listener, struct tablet_shell, lock_listener); + container_of(listener, struct tablet_shell, unlock_listener); weston_compositor_wake(shell->compositor); }