input-device: add output_name field, populate it from libinput

This commit is contained in:
emersion 2018-04-29 12:15:54 +01:00
parent a0f4903063
commit 2551ef8871
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 9 additions and 2 deletions

View file

@ -56,6 +56,7 @@ void wlr_input_device_destroy(struct wlr_input_device *dev) {
}
}
free(dev->name);
free(dev->output_name);
if (dev->impl && dev->impl->destroy) {
dev->impl->destroy(dev);
} else {