summaryrefslogtreecommitdiff
path: root/doc/Xinput.xml
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2011-06-06 02:25:05 +0200
committerAdam Jackson <ajax@redhat.com>2015-09-23 10:29:43 -0400
commit5b92a0a84a067b653cc457d8ec0fe25f36a9d207 (patch)
treea1ec42f69343125c8582d15650609f84f33909fe /doc/Xinput.xml
parent0b8fca667b45f00249a3dd9ee79d2a77a4177b24 (diff)
doc: Fix alignment.
Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'doc/Xinput.xml')
-rw-r--r--doc/Xinput.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/Xinput.xml b/doc/Xinput.xml
index 7f576a135..6f86752a5 100644
--- a/doc/Xinput.xml
+++ b/doc/Xinput.xml
@@ -1078,7 +1078,7 @@ The following code fragment shows how the two wire events could be initialized:
deviceKeyButtonPointer *xev = (deviceKeyButtonPointer *) xE;
deviceValuator *xv;
- xev-&gt;type = DeviceKeyPress; /* defined by input extension */
+ xev-&gt;type = DeviceKeyPress; /* defined by input extension */
xev-&gt;detail = keycode; /* key pressed on this device */
xev-&gt;time = timestamp; /* same as for core events */
xev-&gt;rootX = pointerx; /* x location of core pointer */
@@ -1093,7 +1093,7 @@ The following code fragment shows how the two wire events could be initialized:
/* */
/******************************************************************/
- xev-&gt;deviceid = dev-&gt;id | MORE_EVENTS; /* sending more than 1*/
+ xev-&gt;deviceid = dev-&gt;id | MORE_EVENTS; /* sending more than 1 */
/******************************************************************/
/* Fields in the second 32-byte wire event: */
@@ -1152,7 +1152,7 @@ The following code fragment shows how the two wire events could be initialized:
/* */
/******************************************************************/
- xev-&gt;deviceid = dev-&gt;id | MORE_EVENTS; /* sending more than 1*/
+ xev-&gt;deviceid = dev-&gt;id | MORE_EVENTS; /* sending more than 1 */
/******************************************************************/
/* Fields in the second 32-byte wire event: */