compositor-x11: Update axis notifications to follow protocol
authorJonas Ådahl <jadahl@gmail.com>
Thu, 27 Sep 2012 16:40:41 +0000 (18:40 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Oct 2012 00:54:43 +0000 (20:54 -0400)
commit62efe20cb91a3e49cb6a107b919333de58d0f6bd
tree3a15f5cdfa34eab12fa6de4b303a170326feb78c
parent87b07352730bc43c6711d0709d198d615b283e76
compositor-x11: Update axis notifications to follow protocol

Axis events are in the same coordinate space as motion events, thus
measured in pixels. To emulate axis events for discrete events move the
axis by a number of pixels every step.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
src/compositor-x11.c