From 9cde828c9491b67fb8cacdc227168dcadaa36e00 Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Sat, 23 Sep 2017 14:10:17 -0400 Subject: bugfix: correct type in keyboard resource destroy --- types/wlr_seat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3