From 874b812e720a8f9fb6248cb54e76bd8ab2b2a250 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Fri, 17 Apr 2015 20:21:56 +0000 Subject: Received [smooth] scrolling events on view panels. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@513 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/gtkext/gtkviewpanel.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6830213..652e345 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +15-04-17 Cyrille Bagard + + * src/gtkext/gtkviewpanel.c: + Receive [smooth] scrolling events on view panels. + 15-04-16 Cyrille Bagard * 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; -- cgit v0.11.2-87-g4458