mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue