summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-10-14 13:34:56 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-10-14 13:34:56 +1000
commit6318ac420b644c7f7a6f2c8e47a64238a4afebeb (patch)
tree7e3df4c27512081d2fa62c7387137cc03a2eb373
parentcd02040a5d4a8f120d225a4c09f5d1dfc751c0a8 (diff)
Fix tap button map option handling
Copy/paste error https://bugs.freedesktop.org/show_bug.cgi?id=97989 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86libinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 21f87f5..69f7ae3 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -2146,10 +2146,10 @@ xf86libinput_parse_tap_buttonmap_option(InputInfoPtr pInfo,
free(str);
}
- if (libinput_device_config_send_events_set_mode(device, map) !=
+ if (libinput_device_config_tap_set_button_map(device, map) !=
LIBINPUT_CONFIG_STATUS_SUCCESS) {
xf86IDrvMsg(pInfo, X_ERROR,
- "Failed to set Tapping Drag Lock to %d\n",
+ "Failed to set Tapping Button Map to %d\n",
map);
map = libinput_device_config_tap_get_button_map(device);
}