types/wlr_virtual_keyboard_v1: remove destroy event

The destroy event from the keyboard base wlr_input_device must be used
This commit is contained in:
Simon Zeni 2022-03-08 15:54:38 -05:00 committed by Kirill Primak
parent eae8952e17
commit 45c8771735
2 changed files with 0 additions and 7 deletions

View File

@ -31,10 +31,6 @@ struct wlr_virtual_keyboard_v1 {
bool has_keymap;
struct wl_list link;
struct {
struct wl_signal destroy; // struct wlr_virtual_keyboard_v1*
} events;
};
struct wlr_virtual_keyboard_manager_v1* wlr_virtual_keyboard_manager_v1_create(

View File

@ -109,8 +109,6 @@ static void virtual_keyboard_destroy_resource(struct wl_resource *resource) {
return;
}
wlr_signal_emit_safe(&keyboard->events.destroy, keyboard);
wlr_keyboard_finish(&keyboard->keyboard);
wl_resource_set_user_data(keyboard->resource, NULL);
@ -171,7 +169,6 @@ static void virtual_keyboard_manager_create_virtual_keyboard(
virtual_keyboard->resource = keyboard_resource;
virtual_keyboard->seat = seat_client->seat;
wl_signal_init(&virtual_keyboard->events.destroy);
wl_list_insert(&manager->virtual_keyboards, &virtual_keyboard->link);