mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 17:31:28 +00:00
input/libinput: typo fixes (get -> get_default)
This just fixes some typos in the reset functions that were using the get calls instead of get_default
This commit is contained in:
parent
c1a5f61622
commit
90d8a4df32
|
@ -303,7 +303,7 @@ static bool reset_libinput_pointer(struct libinput_device *device,
|
|||
changed |= set_tap(device,
|
||||
libinput_device_config_tap_get_default_enabled(device));
|
||||
changed |= set_tap_button_map(device,
|
||||
libinput_device_config_tap_get_button_map(device));
|
||||
libinput_device_config_tap_get_default_button_map(device));
|
||||
changed |= set_tap_drag(device,
|
||||
libinput_device_config_tap_get_default_drag_enabled(device));
|
||||
changed |= set_tap_drag_lock(device,
|
||||
|
@ -353,7 +353,7 @@ static bool reset_libinput_touch(struct libinput_device *device,
|
|||
libinput_device_config_send_events_get_default_mode(device));
|
||||
|
||||
float matrix[6];
|
||||
libinput_device_config_calibration_get_matrix(device, matrix);
|
||||
libinput_device_config_calibration_get_default_matrix(device, matrix);
|
||||
changed |= set_calibration_matrix(device, matrix);
|
||||
|
||||
return changed;
|
||||
|
|
Loading…
Reference in a new issue