Skip to content
Snippets Groups Projects
Commit 801485af authored by Brian Ashworth's avatar Brian Ashworth Committed by Peter Hutterer
Browse files

evdev: always store user calibration matrix


In evdev_device_calibrate, the user matrix was not being stored when it
was the identity matrix. This resulted in
libinput_device_config_calibration_get_matrix not providing the correct
matrix. Instead of giving the identity matrix, the last non-identity
matrix set was given.

This just moves the storage of the user matrix in
evdev_device_calibrate to be above the identity matrix early return so
that it always get stored.

Signed-off-by: default avatarBrian Ashworth <bosrsf04@gmail.com>
Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent f5fc850a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment