mirror of
https://github.com/labwc/labwc.git
synced 2025-11-10 13:30:00 -05: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
|
|
@ -175,7 +175,7 @@ handle_destroy(struct wl_listener *listener, void *data)
|
|||
}
|
||||
|
||||
void
|
||||
tablet_pad_init(struct seat *seat, struct wlr_input_device *wlr_device)
|
||||
tablet_pad_create(struct seat *seat, struct wlr_input_device *wlr_device)
|
||||
{
|
||||
wlr_log(WLR_DEBUG, "setting up tablet pad");
|
||||
struct drawing_tablet_pad *pad = znew(*pad);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue