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
This commit is contained in:
Rob Bradford 2013-07-09 12:12:49 +01:00 committed by Kristian Høgsberg
parent 919cddb0ab
commit 6cf9b01e88

View File

@ -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);
}