input: track tablets and tablet-pads at seat

This commit is contained in:
Jens Peters 2024-06-04 20:14:30 +02:00 committed by Johan Malm
parent ca317506c0
commit 61e5e0e4d9
6 changed files with 10 additions and 0 deletions

View file

@ -25,6 +25,7 @@ struct drawing_tablet_pad {
struct wl_listener button;
struct wl_listener destroy;
} handlers;
struct wl_list link; /* seat.tablet_pads */
};
void tablet_pad_init(struct seat *seat, struct wlr_input_device *wlr_input_device);

View file

@ -28,6 +28,7 @@ struct drawing_tablet {
struct wl_listener button;
struct wl_listener destroy;
} handlers;
struct wl_list link; /* seat.tablets */
};
void tablet_init(struct seat *seat, struct wlr_input_device *wlr_input_device);

View file

@ -193,7 +193,9 @@ struct seat {
struct wl_listener touch_motion;
struct wl_listener touch_frame;
struct wl_list tablets;
struct wl_list tablet_tools;
struct wl_list tablet_pads;
struct wl_listener constraint_commit;
struct wl_listener pressed_surface_destroy;