diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-08 09:04:33 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-11-08 09:04:33 -0500 |
commit | a00b7f1e9bb992734f2498e597a86f1ca29b1d59 (patch) | |
tree | 93616bfb67378d1e1da0f0fba1253e48a259e9b2 /rootston/keyboard.c | |
parent | eb3c367c63adbef67bfe76bfc57f3eba25d0c149 (diff) |
rootston: remove devices from seat
Diffstat (limited to 'rootston/keyboard.c')
-rw-r--r-- | rootston/keyboard.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rootston/keyboard.c b/rootston/keyboard.c index ef5eb8ab..a770f00f 100644 --- a/rootston/keyboard.c +++ b/rootston/keyboard.c @@ -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); |