]> Pileus Git - ~andy/gtk/commit
devicemanager,xi2: Implement smooth scrolling
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 23 Jan 2012 23:49:52 +0000 (00:49 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:28:58 +0000 (16:28 -0500)
commit147cdd846502d261e2efa02a96ef39d238f8ec4f
tree6760b893d1d6a6831f4f501442def8a2bcf52c77
parentf941c78969062f3a96979201c970d9f06f5ba5ff
devicemanager,xi2: Implement smooth scrolling

XInput >= 2.1 allows for implementing smooth scrolling,
reporting the different scrolling axes as valuators.
Any change in those will be reported as GdkEventScroll
events with delta_x/y information.

the older kind of scroll events is still handled, and
emulated in devices able to provide smooth scrolling,
setting _gdk_event_set_pointer_emulated() in that case.
gdk/x11/gdkdevice-xi2.c
gdk/x11/gdkdevicemanager-xi2.c
gdk/x11/gdkprivate-x11.h