bugfix: correct type in keyboard resource destroy
This commit is contained in:
parent
3895593998
commit
9cde828c94
|
@ -406,7 +406,7 @@ static void handle_keyboard_focus_surface_destroyed(
|
||||||
|
|
||||||
static void handle_keyboard_focus_resource_destroyed(
|
static void handle_keyboard_focus_resource_destroyed(
|
||||||
struct wl_listener *listener, void *data) {
|
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);
|
wl_container_of(listener, state, focus_resource_destroy_listener);
|
||||||
|
|
||||||
state->focused_surface = NULL;
|
state->focused_surface = NULL;
|
||||||
|
|
Loading…
Reference in New Issue