mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch
This commit is contained in:
parent
2001441a37
commit
a92e5f8d46
9 changed files with 18 additions and 6 deletions
|
|
@ -25,5 +25,4 @@ void wlr_input_device_finish(struct wlr_input_device *wlr_device) {
|
|||
wl_list_remove(&wlr_device->events.destroy.listener_list);
|
||||
|
||||
free(wlr_device->name);
|
||||
free(wlr_device->output_name);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,4 +29,6 @@ void wlr_pointer_init(struct wlr_pointer *pointer,
|
|||
|
||||
void wlr_pointer_finish(struct wlr_pointer *pointer) {
|
||||
wlr_input_device_finish(&pointer->base);
|
||||
|
||||
free(pointer->output_name);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,4 +21,6 @@ void wlr_touch_init(struct wlr_touch *touch,
|
|||
|
||||
void wlr_touch_finish(struct wlr_touch *touch) {
|
||||
wlr_input_device_finish(&touch->base);
|
||||
|
||||
free(touch->output_name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue