diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2019-08-03 06:04:27 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-08-03 15:46:05 +0200 |
commit | 90d8a4df32747161c7218c006bb96e8214d8f7f2 (patch) | |
tree | 67ce214f6181d6878c7c655087095d5f01f1cdf3 /sway | |
parent | Remove unused variable (diff) | |
download | sway-90d8a4df32747161c7218c006bb96e8214d8f7f2.tar.gz sway-90d8a4df32747161c7218c006bb96e8214d8f7f2.tar.zst sway-90d8a4df32747161c7218c006bb96e8214d8f7f2.zip |
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
Diffstat (limited to 'sway')
-rw-r--r-- | sway/input/libinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/input/libinput.c b/sway/input/libinput.c index ef51e998..caaba5a1 100644 --- a/sway/input/libinput.c +++ b/sway/input/libinput.c | |||
@@ -303,7 +303,7 @@ static bool reset_libinput_pointer(struct libinput_device *device, | |||
303 | changed |= set_tap(device, | 303 | changed |= set_tap(device, |
304 | libinput_device_config_tap_get_default_enabled(device)); | 304 | libinput_device_config_tap_get_default_enabled(device)); |
305 | changed |= set_tap_button_map(device, | 305 | changed |= set_tap_button_map(device, |
306 | libinput_device_config_tap_get_button_map(device)); | 306 | libinput_device_config_tap_get_default_button_map(device)); |
307 | changed |= set_tap_drag(device, | 307 | changed |= set_tap_drag(device, |
308 | libinput_device_config_tap_get_default_drag_enabled(device)); | 308 | libinput_device_config_tap_get_default_drag_enabled(device)); |
309 | changed |= set_tap_drag_lock(device, | 309 | changed |= set_tap_drag_lock(device, |
@@ -353,7 +353,7 @@ static bool reset_libinput_touch(struct libinput_device *device, | |||
353 | libinput_device_config_send_events_get_default_mode(device)); | 353 | libinput_device_config_send_events_get_default_mode(device)); |
354 | 354 | ||
355 | float matrix[6]; | 355 | float matrix[6]; |
356 | libinput_device_config_calibration_get_matrix(device, matrix); | 356 | libinput_device_config_calibration_get_default_matrix(device, matrix); |
357 | changed |= set_calibration_matrix(device, matrix); | 357 | changed |= set_calibration_matrix(device, matrix); |
358 | 358 | ||
359 | return changed; | 359 | return changed; |