diff --git a/doc/Xinput.xml b/doc/Xinput.xml
index 9c8dc5de8..36bfa7ed9 100644
--- a/doc/Xinput.xml
+++ b/doc/Xinput.xml
@@ -420,7 +420,7 @@ FocusClass - the device can be focused.
-FeedbackClass - the device supports some kind of feedback
+FeedbackClass - the device supports some kind of feedback.
@@ -702,7 +702,7 @@ InitStringFeedbackClassDeviceStruct(dev, controlProc, max_symbols,
num_symbols_supported, symbols)
DeviceIntPtr dev;
void (*controlProc)();
- int max_symbols:
+ int max_symbols;
int num_symbols_supported;
KeySym *symbols;
@@ -1035,7 +1035,7 @@ deviceid - the identifier of the device that generated the event.
-device_state - the state of any modifiers on the device that generated the event
+device_state - the state of any modifiers on the device that generated the event.