Change-Id: I028c2304e18fb7160a48b2edeeab204a1b89a624
Signed-off-by: Bhavi Dhingra <b.dhingra@samsung.com>
/* Apply pointer acceleration. */
motion.dx = dx_unaccel;
motion.dy = dy_unaccel;
- filter_dispatch(device->pointer.filter, &motion, device, time);
+ if(device->pointer.filter) {
+ filter_dispatch(device->pointer.filter, &motion, device, time);
+ } else {
+ log_bug_libinput(libinput,
+ "accel filter missing\n");
+ }
if (motion.dx == 0.0 && motion.dy == 0.0 &&
dx_unaccel == 0.0 && dy_unaccel == 0.0) {