rework deglitch/optimize/stop_playback, sams ladspa icons, reticle color, tweak frame...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vwindow.C
index 2f96447c4674981ebbc5d21438b8fd322e9f267e..717972a1e663a15554cca1c1cd011f4535e113c4 100644 (file)
@@ -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();
        }
 }