From a9768b035f2c47be0908520474073cc68d225d8a Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 19 Jan 2010 23:10:44 +0000 Subject: Updated to: libX11-1.3.3 pixman-0.17.4 --- libX11/src/EvToWire.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libX11/src/EvToWire.c') 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: -- cgit v1.2.3