summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-17 20:21:56 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-17 20:21:56 (GMT)
commit874b812e720a8f9fb6248cb54e76bd8ab2b2a250 (patch)
tree9694816a095643b2268b6684d607d4619e6b3aab /src/gtkext
parentf21c18a6933036bd4cfec25446ac363c63997c13 (diff)
Received [smooth] scrolling events on view panels.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@513 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkviewpanel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtkext/gtkviewpanel.c b/src/gtkext/gtkviewpanel.c
index a85853b..7f29574 100644
--- a/src/gtkext/gtkviewpanel.c
+++ b/src/gtkext/gtkviewpanel.c
@@ -295,7 +295,9 @@ static void gtk_view_panel_realize(GtkWidget *widget)
attributes.wclass = GDK_INPUT_OUTPUT;
attributes.event_mask = gtk_widget_get_events(widget)
- | GDK_BUTTON_PRESS_MASK | GDK_EXPOSURE_MASK;
+ | GDK_EXPOSURE_MASK
+ | GDK_POINTER_MOTION_MASK | GDK_BUTTON_PRESS_MASK
+ | GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK;
attributes_mask = GDK_WA_X | GDK_WA_Y;