aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/EvToWire.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-01-20 11:12:52 +0000
committermarha <marha@users.sourceforge.net>2010-01-20 11:12:52 +0000
commit439cac06f0d4f641e9c7c0dd6ae62c98ebfd8fa9 (patch)
tree793fbb8e2a3630ba56a145f784cbe134800316e7 /libX11/src/EvToWire.c
parent8bbcd844049eb1296ccd25aca75bf3b08f28facb (diff)
parenta9768b035f2c47be0908520474073cc68d225d8a (diff)
downloadvcxsrv-439cac06f0d4f641e9c7c0dd6ae62c98ebfd8fa9.tar.gz
vcxsrv-439cac06f0d4f641e9c7c0dd6ae62c98ebfd8fa9.tar.bz2
vcxsrv-439cac06f0d4f641e9c7c0dd6ae62c98ebfd8fa9.zip
svn merge ^/branches/released .
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: