]> Pileus Git - ~andy/gtk/commit
gdk: deal with GDK_SMOOTH_SCROLL events as not having a direction
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 23 Jan 2012 22:51:24 +0000 (23:51 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:28:57 +0000 (16:28 -0500)
commitf47e470e586bd2d43b3509ff069ecd09716beaa8
treea5f076b24557e7e1b4a25162f205735e1863a1fc
parent0efbbc6435a5be7790bfc170e250832507298630
gdk: deal with GDK_SMOOTH_SCROLL events as not having a direction

gdk_event_get_scroll_direction() will return FALSE on these, so
gdk_event_get_scroll_deltas() has to be used to retrieve dx/dy
gdk/gdkevents.c