Add locking to redraws triggered while recording.
This commit is contained in:
parent
8d385de54c
commit
97f0283780
|
@ -846,7 +846,10 @@ Audio_Region::write ( nframes_t nframes )
|
||||||
if ( W )
|
if ( W )
|
||||||
{
|
{
|
||||||
++W;
|
++W;
|
||||||
|
Fl::lock();
|
||||||
sequence()->damage( FL_DAMAGE_ALL, x() + w() - W, y(), W, h() );
|
sequence()->damage( FL_DAMAGE_ALL, x() + w() - W, y(), W, h() );
|
||||||
|
Fl::awake();
|
||||||
|
Fl::unlock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -92,7 +92,10 @@ Track::capture_format = o->menu()[ o->value() ].label();} {}
|
||||||
|
|
||||||
main_window->show();
|
main_window->show();
|
||||||
|
|
||||||
Fl::run();} {}
|
Fl::lock();
|
||||||
|
|
||||||
|
Fl::run();} {selected
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Function {TLE()} {open
|
Function {TLE()} {open
|
||||||
} {
|
} {
|
||||||
|
@ -675,7 +678,7 @@ xruns_output->value( engine->xruns() );} {}
|
||||||
xywh {-4 122 513 427}
|
xywh {-4 122 513 427}
|
||||||
} {
|
} {
|
||||||
Fl_Group {} {
|
Fl_Group {} {
|
||||||
label Credits open selected
|
label Credits open
|
||||||
xywh {-4 147 507 394}
|
xywh {-4 147 507 394}
|
||||||
} {
|
} {
|
||||||
Fl_Box {} {
|
Fl_Box {} {
|
||||||
|
|
Loading…
Reference in New Issue