fix endless loop when clicking on the canvas w/o backend
[ardour.git] / gtk2_ardour / editor_drag.cc
index 7e18d79e0a5649be561cf39139afc40130319773..d36aefec00c5364577e7a8ff855227f39705cd0a 100644 (file)
@@ -3972,7 +3972,7 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c)
                         */
 
                        s->request_suspend_timecode_transmission ();
-                       while (AudioEngine::instance()->connected() && !s->timecode_transmission_suspended ()) {
+                       while (AudioEngine::instance()->running() && !s->timecode_transmission_suspended ()) {
                                /* twiddle our thumbs */
                        }
                }