libX11/libX11-1.1.2-GetMotionEvents.patch
Adam Jackson b8f706ed1e - libX11-1.1.2-GetMotionEvents.patch: Fix the definition of
XGetMotionEvents to match the argument order in the headers. (#274671)
2007-09-17 13:50:36 +00:00

15 lines
462 B
Diff

diff -up libX11-1.1.2/src/GetMoEv.c.jx libX11-1.1.2/src/GetMoEv.c
--- libX11-1.1.2/src/GetMoEv.c.jx 2007-06-02 13:46:55.000000000 -0400
+++ libX11-1.1.2/src/GetMoEv.c 2007-09-17 09:30:24.000000000 -0400
@@ -33,9 +33,9 @@ in this Software without prior written a
XTimeCoord *XGetMotionEvents(
register Display *dpy,
+ Window w,
Time start,
Time stop,
- Window w,
int *nEvents) /* RETURN */
{
xGetMotionEventsReply rep;