summaryrefslogtreecommitdiff
path: root/src/evdev-touchpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev-touchpad.c')
-rw-r--r--src/evdev-touchpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev-touchpad.c b/src/evdev-touchpad.c
index dd7ab1c..f658081 100644
--- a/src/evdev-touchpad.c
+++ b/src/evdev-touchpad.c
@@ -375,7 +375,7 @@ touchpad_update_state(struct touchpad_dispatch *touchpad, uint32_t time)
touchpad->device->rel.dx = wl_fixed_from_double(dx);
touchpad->device->rel.dy = wl_fixed_from_double(dy);
- touchpad->device->type |= EVDEV_RELATIVE_MOTION;
+ touchpad->device->pending_events |= EVDEV_RELATIVE_MOTION;
}
}