X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvwindow.C;h=717972a1e663a15554cca1c1cd011f4535e113c4;hb=ad2996ab94e6e12c9c14a5b9f14792f76111dff7;hp=2f96447c4674981ebbc5d21438b8fd322e9f267e;hpb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/vwindow.C b/cinelerra-5.1/cinelerra/vwindow.C index 2f96447c..717972a1 100644 --- a/cinelerra-5.1/cinelerra/vwindow.C +++ b/cinelerra-5.1/cinelerra/vwindow.C @@ -340,9 +340,10 @@ void VWindow::update_position(int change_type, } } - - - +void VWindow::stop_playback(int wait) +{ + playback_engine->stop_playback(wait); +} int VWindow::update_position(double position) { @@ -425,10 +426,8 @@ void VWindow::copy() const char *file_string = file.string(); long file_length = strlen(file_string); mwindow->gui->lock_window(); - mwindow->gui->get_clipboard()->to_clipboard(file_string, file_length, - SECONDARY_SELECTION); - mwindow->gui->get_clipboard()->to_clipboard(file_string, file_length, - BC_PRIMARY_SELECTION); + mwindow->gui->to_clipboard(file_string, file_length, BC_PRIMARY_SELECTION); + mwindow->gui->to_clipboard(file_string, file_length, SECONDARY_SELECTION); mwindow->gui->unlock_window(); } }