diff --git a/far/src/dialog.cpp b/far/src/dialog.cpp index ac9a0f0d7..12de57643 100644 --- a/far/src/dialog.cpp +++ b/far/src/dialog.cpp @@ -4526,7 +4526,6 @@ void Dialog::Process() if (GetCanLoseFocus()) { FrameManager->InsertFrame(this); - FrameManager->Commit(); } else { clock_t btm = 0; diff --git a/far/src/manager.cpp b/far/src/manager.cpp index c532060da..7331f66c6 100644 --- a/far/src/manager.cpp +++ b/far/src/manager.cpp @@ -1163,6 +1163,9 @@ void Manager::ActivateCommit(Frame *aFrame) if (Index!=-1) { FramePos=Index; + if (CurrentFrame && CurrentFrame != aFrame) { + aFrame->FrameToBack = CurrentFrame; + } } /* 14.05.2002 SKV