allow ardour button to handle focused keyboard events
[ardour.git] / gtk2_ardour / editor.cc
index 0235d881464d3f9365aec7068aa91b7892a52c3e..f3195daec271359348670b7499687ff7a565ddc4 100644 (file)
@@ -470,7 +470,6 @@ Editor::Editor ()
        transport_mark_label.set_no_show_all();
 
        initialize_canvas ();
-       initialize_rulers ();
 
        _summary = new EditorSummary (this);
 
@@ -3871,7 +3870,7 @@ Editor::control_layout_scroll (GdkEventScroll* ev)
           In the not too distant future this layout is going away anyway and
           headers will be on the canvas.
        */
-       return canvas_scroll_event (ev);
+       return canvas_scroll_event (ev, false);
 }
 
 void