From ec6c20149cf465197295dac8f959e0383a23207f Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Mon, 14 Jul 2008 20:16:11 +0100 Subject: [PATCH 1/5] Fixed broken timeline scrollwheel, added a const --- src/gui/widgets/timeline/timeline-body.cpp | 4 ++-- src/gui/widgets/timeline/timeline-ruler.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/widgets/timeline/timeline-body.cpp b/src/gui/widgets/timeline/timeline-body.cpp index d7ec9b4b4..cab944d5f 100644 --- a/src/gui/widgets/timeline/timeline-body.cpp +++ b/src/gui/widgets/timeline/timeline-body.cpp @@ -66,7 +66,7 @@ TimelineBody::on_realize() Widget::on_realize(); // We wish to receive all event notifications - add_events(Gdk::POINTER_MOTION_MASK); + add_events(Gdk::POINTER_MOTION_MASK | Gdk::SCROLL_MASK); } void @@ -140,7 +140,7 @@ TimelineBody::on_expose_event(GdkEventExpose* event) // Prepare to render via cairo Glib::RefPtr