Commit 6318ac42 authored by Peter Hutterer's avatar Peter Hutterer

Fix tap button map option handling

Copy/paste error

https://bugs.freedesktop.org/show_bug.cgi?id=97989Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent cd02040a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment