diff options
author | Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> | 2018-08-22 14:11:35 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-08-22 14:43:29 +0100 |
commit | 6db9c4b74667c1d917d720f5e96985a2461569fb (patch) | |
tree | 7376c651ff0c75daf64bbc086858239a1d51f50b | |
parent | 2929f0f8ddd50b19fd9234e73d4aac6f83704bfb (diff) |
wlr_virtual_keyboard: use wlr_input_device_destroy
-rw-r--r-- | types/wlr_virtual_keyboard_v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_virtual_keyboard_v1.c b/types/wlr_virtual_keyboard_v1.c index bd9ecf2b..89291b12 100644 --- a/types/wlr_virtual_keyboard_v1.c +++ b/types/wlr_virtual_keyboard_v1.c @@ -99,7 +99,7 @@ static void virtual_keyboard_destroy_resource(struct wl_resource *resource) { virtual_keyboard_from_resource(resource); wlr_signal_emit_safe(&keyboard->events.destroy, keyboard); wl_list_remove(&keyboard->link); - wlr_keyboard_destroy(keyboard->input_device.keyboard); + wlr_input_device_destroy(&keyboard->input_device); free(keyboard); } |