shell: Use the right destroy listener in focus_state_surface_destroy()

We were dereferencing the seat destroy listener.
dev
Kristian Høgsberg 13 years ago
parent 8ab5d45399
commit b8e0d0f5ac
  1. 2
      src/shell.c

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

Loading…
Cancel
Save