diff options
Diffstat (limited to 'lib/libX11/src/ChkIfEv.c')
-rw-r--r-- | lib/libX11/src/ChkIfEv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libX11/src/ChkIfEv.c b/lib/libX11/src/ChkIfEv.c index ff74bcd73..9bef64f89 100644 --- a/lib/libX11/src/ChkIfEv.c +++ b/lib/libX11/src/ChkIfEv.c @@ -32,21 +32,21 @@ in this Software without prior written authorization from The Open Group. #endif #include "Xlibint.h" -/* +/* * Check existing events in queue to find if any match. If so, return. * If not, flush buffer and see if any more events are readable. If one * matches, return. If all else fails, tell the user no events found. */ -Bool XCheckIfEvent (dpy, event, predicate, arg) - register Display *dpy; +Bool XCheckIfEvent ( + register Display *dpy, + register XEvent *event, /* XEvent to be filled in. */ Bool (*predicate)( Display* /* display */, XEvent* /* event */, char* /* arg */ - ); /* function to call */ - register XEvent *event; /* XEvent to be filled in. */ - char *arg; + ), /* function to call */ + char *arg) { register _XQEvent *prev, *qelt; unsigned long qe_serial = 0; |