mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
wlr_virtual_keyboard: use wlr_input_device_destroy
This commit is contained in:
parent
2929f0f8dd
commit
6db9c4b746
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static void virtual_keyboard_destroy_resource(struct wl_resource *resource) {
|
||||||
virtual_keyboard_from_resource(resource);
|
virtual_keyboard_from_resource(resource);
|
||||||
wlr_signal_emit_safe(&keyboard->events.destroy, keyboard);
|
wlr_signal_emit_safe(&keyboard->events.destroy, keyboard);
|
||||||
wl_list_remove(&keyboard->link);
|
wl_list_remove(&keyboard->link);
|
||||||
wlr_keyboard_destroy(keyboard->input_device.keyboard);
|
wlr_input_device_destroy(&keyboard->input_device);
|
||||||
free(keyboard);
|
free(keyboard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue