mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04: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
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue