summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-13 14:27:59 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-13 14:27:59 -0400
commit7a0b2e1c18cdc0447581f6a8024377c1b4b1c52a (patch)
treef56570432d6e8f3b7bba7dcf3a9ec9040171d307 /gtk2_ardour/public_editor.h
parent7d678604fad1ac009c48fd6c91a1041a588b8b50 (diff)
fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there)
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index d37b4d7744..af66415a65 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -318,7 +318,7 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi
virtual void reset_focus () = 0;
- virtual bool canvas_scroll_event (GdkEventScroll* event) = 0;
+ virtual bool canvas_scroll_event (GdkEventScroll* event, bool from_canvas) = 0;
virtual bool canvas_control_point_event (GdkEvent* event, ArdourCanvas::Item*, ControlPoint*) = 0;
virtual bool canvas_line_event (GdkEvent* event, ArdourCanvas::Item*, AutomationLine*) = 0;
virtual bool canvas_selection_rect_event (GdkEvent* event, ArdourCanvas::Item*, SelectionRect*) = 0;