The XGetMotionEvents prototype has been wrongly modified in commit a48386ce6b5f8fd2d9dc11a966c9bf5da59f3831, the argument orders does not match the prototype from Xlib.h anymore.
Created attachment 10243 [details] [review]
fix XGetMotionEvents arguments order
The following patch fixes it.
(how do I attach a brown paper bag? :-)
For the record, it breaks gdk+, and especially gimp. The initial bug report was here: http://bugzilla.gnome.org/show_bug.cgi?id=445376
Magnus, could you fix this please in git? Thanks.
Not sure, if Magnus has git commit rights. Tilman, could you help here?
I checked in the fix...
Dang, I don't think I made sure that the argument order in the header matches the one in the C files :(
BTW, I did have a closer look at all the hunks in the "K&R --> ANSI" patch, but couldn't find any other broken hunk. Hopefully I didn't overlook any.
I only noticed the bug report now. Sorry for the delay. Thanks to all who helped track this down and fix, and apologies to anyone who got stung by this oversight (/me accepts brown paper bag from Olivier :) ). I have looked at the K&R to ANSI patch again and believe there are no further problems. More eyes welcome.
on Feb 24, 2017 at 15:06:56.
(provided by the Example extension).