diff options
Diffstat (limited to 'src/XGMotion.c')
-rw-r--r-- | src/XGMotion.c | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/src/XGMotion.c b/src/XGMotion.c index cd361dd..4353a27 100644 --- a/src/XGMotion.c +++ b/src/XGMotion.c @@ -60,21 +60,15 @@ SOFTWARE. #include <X11/extensions/extutil.h> #include "XIint.h" -XDeviceTimeCoord - * XGetDeviceMotionEvents(dpy, dev, start, stop, nEvents, mode, axis_count) - register Display * - dpy; - XDevice * - dev; - -Time start; -Time stop; - int * - nEvents; - int * - mode; - int * - axis_count; +XDeviceTimeCoord * +XGetDeviceMotionEvents( + register Display *dpy, + XDevice *dev, + Time start, + Time stop, + int *nEvents, + int *mode, + int *axis_count) { xGetDeviceMotionEventsReq *req; xGetDeviceMotionEventsReply rep; @@ -140,8 +134,7 @@ Time stop; } void -XFreeDeviceMotionEvents(events) - XDeviceTimeCoord *events; +XFreeDeviceMotionEvents(XDeviceTimeCoord *events) { XFree((char *)events); } |