region list patch #2 from chris g, slightly reworked by me; sv_se po changes, possibl...
[ardour.git] / gtk2_ardour / editor_mixer.cc
index 5c9208fcfbd0f45a5d11265654f76be4eba33ade..d6ce61fc487c7cb960626c71805bcf651f60995e 100644 (file)
@@ -203,7 +203,7 @@ Editor::update_current_screen ()
 
                if (_follow_playhead && session->requested_return_frame() < 0) {
 
-                       playhead_cursor->canvas_item.show();
+                       //playhead_cursor->canvas_item.show();
 
                        if (frame != last_update_frame) {
 
@@ -259,7 +259,10 @@ Editor::update_current_screen ()
 
          almost_done:
                last_update_frame = frame;
-
+#ifdef GTKOSX
+               /*XXX in a perfect world we would not have to do this. */
+               track_canvas->update_now();
+#endif
                if (current_mixer_strip) {
                        current_mixer_strip->fast_update ();
                }
@@ -321,6 +324,8 @@ Editor::session_going_away ()
        drag_info.item = 0;
        last_canvas_frame = 0;
 
+       playhead_cursor->canvas_item.hide ();
+
        /* hide all tracks */
 
        hide_all_tracks (false);