diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-09-23 14:10:17 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-09-23 14:10:17 -0400 |
commit | 9cde828c9491b67fb8cacdc227168dcadaa36e00 (patch) | |
tree | 6eca903c3c2cd67d8efa1df4608f8d0981564fce | |
parent | 389559399830c89eee01028a9029f1f3a49a8455 (diff) |
bugfix: correct type in keyboard resource destroy
-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; |