summaryrefslogtreecommitdiff
path: root/src/libinput.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libinput.c')
-rw-r--r--src/libinput.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libinput.c b/src/libinput.c
index d73637a8..e9883ffd 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -2226,6 +2226,7 @@ tablet_notify_tip(struct libinput_device *device,
uint64_t time,
struct libinput_tablet_tool *tool,
enum libinput_tablet_tool_tip_state tip_state,
+ unsigned char *changed_axes,
double *axes)
{
struct libinput_event_tablet_tool *tip_event;
@@ -2243,6 +2244,9 @@ tablet_notify_tip(struct libinput_device *device,
memcpy(tip_event->axes,
axes,
sizeof(tip_event->axes));
+ memcpy(tip_event->changed_axes,
+ changed_axes,
+ sizeof(tip_event->changed_axes));
post_device_event(device,
time,