types/wlr_input_device: move output_name field to wlr_pointer and wlr_touch

This commit is contained in:
Simon Zeni 2022-03-08 16:45:03 -05:00
parent 2001441a37
commit a92e5f8d46
9 changed files with 18 additions and 6 deletions

View file

@ -31,7 +31,6 @@ struct wlr_input_device {
char *name;
// Or 0 if not applicable to this device
double width_mm, height_mm;
char *output_name;
/* wlr_input_device.type determines which of these is valid */
union {

View file

@ -21,6 +21,8 @@ struct wlr_pointer {
const struct wlr_pointer_impl *impl;
char *output_name;
struct {
struct wl_signal motion; // struct wlr_event_pointer_motion
struct wl_signal motion_absolute; // struct wlr_event_pointer_motion_absolute

View file

@ -20,6 +20,8 @@ struct wlr_touch {
const struct wlr_touch_impl *impl;
char *output_name;
struct {
struct wl_signal down; // struct wlr_event_touch_down
struct wl_signal up; // struct wlr_event_touch_up