Both the trackpad and optical mouse were lagging on a friend's laptop.

I was able to solve by going to Settings, Devices, Mouse and Touchpad, Additional mouse options

then click on the Pointer...