shell: Use the right destroy listener in focus_state_surface_destroy()

We were dereferencing the seat destroy listener.
This commit is contained in:
Kristian Høgsberg 2012-07-31 10:30:26 -04:00
parent 8ab5d45399
commit b8e0d0f5ac
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ focus_state_surface_destroy(struct wl_listener *listener, void *data)
{
struct focus_state *state = container_of(listener,
struct focus_state,
seat_destroy_listener);
surface_destroy_listener);
wl_list_remove(&state->link);
focus_state_destroy(state);