• Brian Ashworth's avatar
    evdev: always store user calibration matrix · 801485af
    Brian Ashworth authored
    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: Brian Ashworth's avatarBrian Ashworth <bosrsf04@gmail.com>
    Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    801485af