]> Pileus Git - ~andy/gtk/commit
gdk: update csw event mask filter to handle smooth scroll
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 23 Jan 2012 23:28:25 +0000 (00:28 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 1 Mar 2012 21:28:57 +0000 (16:28 -0500)
commit77cbc980445f52632f2aa3d5076e351c2d4be5c5
tree9b1310388339bd1b1c88c973af228a4353f3e211
parentb177bd92aab35c831ee55d08390af7a6bcad0109
gdk: update csw event mask filter to handle smooth scroll

Events of type GDK_SCROLL will be received if the client side window
event mask has either GDK_SCROLL_MASK or GDK_SMOOTH_SCROLL_MASK.

GDK_BUTTON_PRESS_MASK has been removed from type_masks[GDK_SCROLL]
as that bit is often set for other-than-scrolling purposes, and
yet have the window receive scroll events. In GTK+, this forces
non-smooth events bubbling, even if the widgets above want smooth
events, and legitimately set GDK_[SMOOTH_]SCROLL_MASK.
gdk/gdkwindow.c