summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-16 11:50:26 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-16 11:50:26 -0800
commite3a75f34f865f66e0ebf04b8c11fd97c972647d6 (patch)
tree84e5323e6fd735b0dce768e6d4708992b1c47543
parent830f7c3b1bd29e0e6b6bdbf0ffd2390a4d385413 (diff)
downloadxorg-driver-xf86-input-libinput-e3a75f34f865f66e0ebf04b8c11fd97c972647d6.tar.gz
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--include/libinput-properties.h2
-rw-r--r--src/bezier.h2
-rw-r--r--src/xf86libinput.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/libinput-properties.h b/include/libinput-properties.h
index d3832d8..1655771 100644
--- a/include/libinput-properties.h
+++ b/include/libinput-properties.h
@@ -63,7 +63,7 @@
/* Pointer accel speed: FLOAT, 1 value, 32 bit, read-only*/
#define LIBINPUT_PROP_ACCEL_DEFAULT "libinput Accel Speed Default"
-/* Pointer accel profile: BOOL, 2 values in oder adaptive, flat,
+/* Pointer accel profile: BOOL, 2 values in order adaptive, flat,
* only one is enabled at a time at max, read-only */
#define LIBINPUT_PROP_ACCEL_PROFILES_AVAILABLE "libinput Accel Profiles Available"
diff --git a/src/bezier.h b/src/bezier.h
index ce628dd..f86588b 100644
--- a/src/bezier.h
+++ b/src/bezier.h
@@ -56,7 +56,7 @@ extern const struct bezier_control_point bezier_defaults[4];
* This function requires that c[i].x <= c[i+1].x
*
* The curve is mapped into a canvas size [0, bezier_sz)². For each x
- * coordiante in [0, bezier_sz), the matching y coordinate is thus
+ * coordinate in [0, bezier_sz), the matching y coordinate is thus
* bezier[x].
*
* In other words, if you have a range [0,2048) input possible values,
diff --git a/src/xf86libinput.c b/src/xf86libinput.c
index 5bb6c28..d7b72e0 100644
--- a/src/xf86libinput.c
+++ b/src/xf86libinput.c
@@ -3669,7 +3669,7 @@ xf86libinput_pre_init(InputDriverPtr drv,
goto fail;
}
- /* We ref the device above, then remove it. It get's
+ /* We ref the device above, then remove it. It gets
re-added with the same path in DEVICE_ON, we hope
it doesn't change until then */
libinput_device_ref(device);