From ee6501d12f773d7b4a67a23463b91a3ce741b6a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Fri, 8 Apr 2016 15:51:27 +0800 Subject: [PATCH] libinput: Actually return the default accel profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We just returned the current profile instead of the default one. Fix that. Signed-off-by: Jonas Ã…dahl Signed-off-by: Peter Hutterer --- src/libinput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libinput.c b/src/libinput.c index 14808780..b6e660a1 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