mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
rootston: remove devices from seat
This commit is contained in:
parent
eb3c367c63
commit
a00b7f1e9b
3 changed files with 38 additions and 12 deletions
|
|
@ -225,8 +225,7 @@ struct roots_keyboard *roots_keyboard_create(struct wlr_input_device *device,
|
|||
return keyboard;
|
||||
}
|
||||
|
||||
void roots_keyboard_destroy(struct wlr_input_device *device, struct roots_input *input) {
|
||||
struct roots_keyboard *keyboard = device->data;
|
||||
void roots_keyboard_destroy(struct roots_keyboard *keyboard) {
|
||||
wl_list_remove(&keyboard->link);
|
||||
free(keyboard->config);
|
||||
free(keyboard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue