diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gtkext/gtkviewpanel.c | 4 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,8 @@ +15-04-17 Cyrille Bagard <nocbos@gmail.com> + + * src/gtkext/gtkviewpanel.c: + Receive [smooth] scrolling events on view panels. + 15-04-16 Cyrille Bagard <nocbos@gmail.com> * src/analysis/disass/loop.c: 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; |