shell: Use the right destroy listener in focus_state_surface_destroy()
We were dereferencing the seat destroy listener.
This commit is contained in:
parent
8ab5d45399
commit
b8e0d0f5ac
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user