summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTarcísio Eduardo Moreira Crocomo <tarcisioe@pm.me>2024-04-09 23:40:34 -0300
committerTarcísio Eduardo Moreira Crocomo <tarcisioe@pm.me>2024-04-09 23:40:34 -0300
commit955158f9824da05dcd71f3e8731cd5d51c3d262f (patch)
tree19e9d40dd93a7a79ce7890c2db3d906c90ccda29
parent46d1fff0b0cbefc52fd388ec2f8439655d1b4a5e (diff)
fix: unnecessary braces and mistake in docHEADmain
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/988>
-rw-r--r--src/evdev-mt-touchpad-buttons.c4
-rw-r--r--src/libinput.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/evdev-mt-touchpad-buttons.c b/src/evdev-mt-touchpad-buttons.c
index 0f0a640e..23817da8 100644
--- a/src/evdev-mt-touchpad-buttons.c
+++ b/src/evdev-mt-touchpad-buttons.c
@@ -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);
}
diff --git a/src/libinput.h b/src/libinput.h
index 954ec617..ebaf6384 100644
--- a/src/libinput.h
+++ b/src/libinput.h
@@ -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