diff options
-rw-r--r-- | types/wlr_seat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_seat.c b/types/wlr_seat.c index 1028cf09..fc3b1c76 100644 --- a/types/wlr_seat.c +++ b/types/wlr_seat.c @@ -406,7 +406,7 @@ static void handle_keyboard_focus_surface_destroyed( static void handle_keyboard_focus_resource_destroyed( struct wl_listener *listener, void *data) { - struct wlr_seat_pointer_state *state = + struct wlr_seat_keyboard_state *state = wl_container_of(listener, state, focus_resource_destroy_listener); state->focused_surface = NULL; |