From: Good Guy Date: Thu, 5 Mar 2020 16:52:40 +0000 (-0700) Subject: select_label deadlock fix X-Git-Tag: 2020-03~18 X-Git-Url: https://git.cinelerra-gg.org/git/?a=commitdiff_plain;h=d5cfea2a21712b316a4b42b19bbbbc0d76b7b8d4;p=goodguy%2Fcinelerra.git select_label deadlock fix --- diff --git a/cinelerra-5.1/cinelerra/ctimebar.C b/cinelerra-5.1/cinelerra/ctimebar.C index b9fb0bde..d7f5b3ff 100644 --- a/cinelerra-5.1/cinelerra/ctimebar.C +++ b/cinelerra-5.1/cinelerra/ctimebar.C @@ -112,16 +112,14 @@ void CTimeBar::select_label(double position) } // Que the CWindow + unlock_window(); mwindow->cwindow->update(1, 0, 0, 0, 1); - -//printf("CTimeBar::select_label 1\n"); - mwindow->gui->lock_window(); mwindow->gui->hide_cursor(0); mwindow->gui->draw_cursor(1); mwindow->gui->update(0, NORMAL_DRAW, 1, 0, 1, 1, 0); mwindow->gui->unlock_window(); mwindow->update_plugin_guis(); -//printf("CTimeBar::select_label 2\n"); + lock_window("CTimeBar::select_label"); }