genodelabs/genode — pull request #1208 by chrism333 (2014-07-15 13:02:22+00:00)
Title: bugfix: motion events with absolute coordinates are now merged correctly, fixes #1207

An absolute motion event updates only one of two axis. It is not suitable to simply take the newest absolute event as this only updates on axis and sets the other axis to zero. With this patch absolute coordinates are initialized with the invalid value -1. Only valid coordinates are used to overwrite old coordinates on merge. The mouse cursor in nitpicker is only updated for valid coordinates.