summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2013-07-09 12:12:49 +0100
committerKristian Høgsberg <krh@bitplanet.net>2013-07-09 17:10:34 -0400
commit6cf9b01e8803c1ae6e46b9a4d56c2962b4197a3f (patch)
tree4366bf7fe51a08df9961b93be55b8ca6c17cd5cd /src
parent919cddb0abc1a1611643d1ce7fcf6b94580c8d85 (diff)
downloadweston-6cf9b01e8803c1ae6e46b9a4d56c2962b4197a3f.tar.gz
weston-6cf9b01e8803c1ae6e46b9a4d56c2962b4197a3f.tar.bz2
weston-6cf9b01e8803c1ae6e46b9a4d56c2962b4197a3f.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/tablet-shell.c2
1 files changed, 1 insertions, 1 deletions
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);
}