[X11] Fixed XI2Mouse smooth scrolling
authorthefiddler <stapostol@gmail.com>
Sun, 11 May 2014 23:48:06 +0000 (01:48 +0200)
committerthefiddler <stapostol@gmail.com>
Mon, 12 May 2014 00:20:53 +0000 (02:20 +0200)
commit1cf7386748a09cf3205d3e1cd0db72f013693c1f
tree3125abcba0b11eeecfc4add8035591ae268d5dc1
parentbba9c8c26fe7abb74ecbc517c454921867663c84
[X11] Fixed XI2Mouse smooth scrolling

The scrolling valuator offsets are now calculated correctly, based on
the number of set bits in the valuator mask.
Additionally XI2Mouse now runs on a background thread, using blocking
XIfEvent. This should improve resonsiveness and reduce CPU usage, due
to reduced polling.
Source/OpenTK/Platform/X11/X11Factory.cs
Source/OpenTK/Platform/X11/XI2Mouse.cs