mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 00:00:28 +01:00
fix: unnecessary braces and mistake in doc
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/988>
This commit is contained in:
parent
46d1fff0b0
commit
955158f982
2 changed files with 3 additions and 3 deletions
|
|
@ -1383,9 +1383,9 @@ int
|
|||
tp_post_button_events(struct tp_dispatch *tp, uint64_t time)
|
||||
{
|
||||
if (tp->buttons.is_clickpad ||
|
||||
tp->device->model_flags & EVDEV_MODEL_APPLE_TOUCHPAD_ONEBUTTON) {
|
||||
tp->device->model_flags & EVDEV_MODEL_APPLE_TOUCHPAD_ONEBUTTON)
|
||||
return tp_post_clickpadbutton_buttons(tp, time);
|
||||
}
|
||||
|
||||
return tp_post_physical_buttons(tp, time);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5860,7 +5860,7 @@ libinput_device_config_click_set_clickfinger_button_map(struct libinput_device *
|
|||
*
|
||||
* Get the finger number to button number mapping for clickfinger.
|
||||
*
|
||||
* The return value for a device that does not support tapping is always
|
||||
* The return value for a device that does not support clickfinger is always
|
||||
* @ref LIBINPUT_CONFIG_CLICKFINGER_MAP_LRM.
|
||||
*
|
||||
* @param device The device to configure
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue