fix merge conflict from master
[ardour.git] / gtk2_ardour / time_axis_view.cc
index 555efcc2b5580908e6eb3baffded082c82c0829d..2cc2adf7617611c47f208fdac6405d3c0e2c19d6 100644 (file)
@@ -134,6 +134,9 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
        controls_table.set_no_show_all ();
 
        HSeparator* separator = manage (new HSeparator());
+       separator->set_name("TrackSeparator");
+       separator->set_size_request(-1, 1);
+       separator->show();
 
        controls_vbox.pack_start (controls_table, false, false);
        controls_vbox.show ();
@@ -159,8 +162,8 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie
        controls_ebox.signal_leave_notify_event().connect (sigc::mem_fun (*this, &TimeAxisView::controls_ebox_leave));
        controls_ebox.show ();
 
-       time_axis_vbox.pack_end (*separator, false, false);
        time_axis_vbox.pack_start (controls_ebox, true, true, 0);
+       time_axis_vbox.pack_end (*separator, false, false);
        time_axis_vbox.show();
 
        ColorsChanged.connect (sigc::mem_fun (*this, &TimeAxisView::color_handler));
@@ -407,6 +410,7 @@ TimeAxisView::controls_ebox_motion (GdkEventMotion* ev)
                maybe_set_cursor (ev->y);
        }
 
+       gdk_event_request_motions(ev);
        return true;
 }