aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/EvToWire.c
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/EvToWire.c')
-rw-r--r--libX11/src/EvToWire.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libX11/src/EvToWire.c b/libX11/src/EvToWire.c
index 124fb7446..77e70f34a 100644
--- a/libX11/src/EvToWire.c
+++ b/libX11/src/EvToWire.c
@@ -1,4 +1,3 @@
-/* $Xorg: EvToWire.c,v 1.4 2001/02/09 02:03:32 xorgcvs Exp $ */
/*
@@ -27,7 +26,6 @@ other dealings in this Software without prior written authorization
from The Open Group.
*/
-/* $XFree86: xc/lib/X11/EvToWire.c,v 1.4 2001/08/18 02:41:28 dawes Exp $ */
/*
* XEvToWire.c - Internal support routines for the C subroutine
@@ -42,13 +40,15 @@ from The Open Group.
#include "Xlibint.h"
/*
- * reformat a wire event into an XEvent structure of the right type.
+ * Reformat an XEvent structure to a wire event of the right type.
+ * Return True on success. If the type is unrecognized, return what
+ * _XUnknownNativeEvent returns (i.e., False).
*/
Status
_XEventToWire(
-register Display *dpy, /* pointer to display structure */
-register XEvent *re, /* pointer to where event should be reformatted */
-register xEvent *event) /* wire protocol event */
+ register Display *dpy,
+ register XEvent *re, /* in: from */
+ register xEvent *event) /* out: to */
{
switch (event->u.u.type = re->type) {
case KeyPress: