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>
This commit is contained in:
parent
0b8fca667b
commit
5b92a0a84a
|
@ -1078,7 +1078,7 @@ The following code fragment shows how the two wire events could be initialized:
|
||||||
deviceKeyButtonPointer *xev = (deviceKeyButtonPointer *) xE;
|
deviceKeyButtonPointer *xev = (deviceKeyButtonPointer *) xE;
|
||||||
deviceValuator *xv;
|
deviceValuator *xv;
|
||||||
|
|
||||||
xev->type = DeviceKeyPress; /* defined by input extension */
|
xev->type = DeviceKeyPress; /* defined by input extension */
|
||||||
xev->detail = keycode; /* key pressed on this device */
|
xev->detail = keycode; /* key pressed on this device */
|
||||||
xev->time = timestamp; /* same as for core events */
|
xev->time = timestamp; /* same as for core events */
|
||||||
xev->rootX = pointerx; /* x location of core pointer */
|
xev->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->deviceid = dev->id | MORE_EVENTS; /* sending more than 1*/
|
xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1 */
|
||||||
|
|
||||||
/******************************************************************/
|
/******************************************************************/
|
||||||
/* Fields in the second 32-byte wire event: */
|
/* 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->deviceid = dev->id | MORE_EVENTS; /* sending more than 1*/
|
xev->deviceid = dev->id | MORE_EVENTS; /* sending more than 1 */
|
||||||
|
|
||||||
/******************************************************************/
|
/******************************************************************/
|
||||||
/* Fields in the second 32-byte wire event: */
|
/* Fields in the second 32-byte wire event: */
|
||||||
|
|
Loading…
Reference in New Issue