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
dev
Rob Bradford 12 years ago committed by Kristian Høgsberg
parent 919cddb0ab
commit 6cf9b01e88
  1. 2
      src/tablet-shell.c

@ -415,7 +415,7 @@ static void
tablet_shell_unlock(struct wl_listener *listener, void *data) tablet_shell_unlock(struct wl_listener *listener, void *data)
{ {
struct tablet_shell *shell = 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); weston_compositor_wake(shell->compositor);
} }

Loading…
Cancel
Save