X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fbcdragwindow.C;h=54814a29f55b20ee08e897d2212d07b789d656d3;hb=a0037a8d091d11851f324c741a8fc7f314acf7dc;hp=72e7c85029c85545a9a7f2261014d25f72e46fed;hpb=22a5ea2ff7a04c02465dc9b2256f04c38433142e;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/guicast/bcdragwindow.C b/cinelerra-5.1/guicast/bcdragwindow.C index 72e7c850..54814a29 100644 --- a/cinelerra-5.1/guicast/bcdragwindow.C +++ b/cinelerra-5.1/guicast/bcdragwindow.C @@ -93,7 +93,7 @@ int BC_DragWindow::drag_failure_event() reposition_window(new_x, new_y, get_w(), get_h()); flush(); - usleep(1000); + usleep(250000/10); } return 0; } @@ -109,7 +109,7 @@ BC_Pixmap *BC_DragWindow::prepare_frame(VFrame *frame, BC_WindowBase *parent_win int tw = frame->get_w(), th = frame->get_h(); if( frame->get_color_model() != BC_RGBA8888 ) { - temp_frame = new VFrame(tw, th, BC_RGBA8888); + temp_frame = new VFrame(tw, th, BC_RGBA8888, 0); temp_frame->transfer_from(frame); }