[PATCH libinput 2/3] libinput: Actually return the default accel profile
Jonas Ådahl
jadahl at gmail.com
Fri Apr 8 07:51:27 UTC 2016
We just returned the current profile instead of the default one. Fix
that.
Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
src/libinput.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libinput.c b/src/libinput.c
index 1480878..b6e660a 100644
--- a/src/libinput.c
+++ b/src/libinput.c
@@ -3105,7 +3105,7 @@ libinput_device_config_accel_get_default_profile(struct libinput_device *device)
if (!libinput_device_config_accel_is_available(device))
return LIBINPUT_CONFIG_ACCEL_PROFILE_NONE;
- return device->config.accel->get_profile(device);
+ return device->config.accel->get_default_profile(device);
}
LIBINPUT_EXPORT enum libinput_config_status
--
2.4.3
More information about the wayland-devel
mailing list