mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
input: move cursor event listeners from tablet to seat
Otherwise we would subscribe multiple times to the same event when having multiple tablets.
This commit is contained in:
parent
538eb3ee83
commit
dd0cee02a4
9 changed files with 40 additions and 22 deletions
|
|
@ -36,7 +36,7 @@ struct drawing_tablet_pad {
|
|||
struct wl_list link; /* seat.tablet_pads */
|
||||
};
|
||||
|
||||
void tablet_pad_init(struct seat *seat, struct wlr_input_device *wlr_input_device);
|
||||
void tablet_pad_create(struct seat *seat, struct wlr_input_device *wlr_input_device);
|
||||
void tablet_pad_attach_tablet(struct seat *seat);
|
||||
void tablet_pad_enter_surface(struct seat *seat, struct wlr_surface *wlr_surface);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue