summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2019-08-03 06:04:27 -0400
committerFurkan Sahin <furkan-dev@proton.me>2019-08-03 06:04:27 -0400
commitccb291ef8f357a4059e113d8ed50de14bbbc9480 (patch)
tree67ce214f6181d6878c7c655087095d5f01f1cdf3
parentaada408530c55564a8a4e7381a2a9cb0b8390d96 (diff)
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
-rw-r--r--sway/input/libinput.c4
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,
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;