Re: Accuracy of motion events



On Sat, 2014-08-30 at 00:39 +0100, Emmanuele Bassi wrote:
motion events (and touch update events) are compressed on a per-frame
basis, since it the correct thing to do for every class of
applications *save* for drawing ones. for those, we have API to
disable event compression on a per-GDK window basis:

https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#gdk-window-set-event-compression

your application should benefit from this API.

Sounds great, thanks. Can not test with Ruby currently, it is 3.12,
which is not available yet for Ruby bindings.

Stefan Salewski



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]