histogram rework to add sum_frames, update suv/cakewalk autorange icons, add new...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / recordgui.C
index c2fbe0ecf2c2a1bc7ba6c4c096feb0ee65bfacbe..d425dbce17e6bff9665ce546fd357a1627aecfd9 100644 (file)
@@ -809,6 +809,16 @@ int RecordGUIMonitorVideo::handle_event()
                lock_window("RecordGUIMonitorVideo::handle_event");
                record->video_window_open = 1;
        }
+       else {
+               unlock_window();
+               BC_Window *window = record->record_monitor->window;
+               window->lock_window("RecordGUIMonitorVideo::handle_event");
+               window->hide_window();
+               window->flush();
+               window->unlock_window();
+               lock_window("RecordGUIMonitorVideo::handle_event");
+               record->video_window_open = 0;
+       }
        return 1;
 }