rootston: remove devices from seat

This commit is contained in:
Tony Crisci 2017-11-08 09:04:33 -05:00
parent eb3c367c63
commit a00b7f1e9b
3 changed files with 38 additions and 12 deletions

View file

@ -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);