summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--src/gtkext/gtkviewpanel.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6830213..652e345 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;