X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=3f1983da6c440890312606d6e5aa7e95726d6891;hb=6e187a501af90b3c34b543f7e38c18f425b96f28;hp=d505eb552de6c2d3c1242de15ac604587beee3c8;hpb=64c5cbd033e4cc0d4997ce55a49514e4f15ec16a;p=xboard.git diff --git a/xboard.c b/xboard.c index d505eb5..3f1983d 100644 --- a/xboard.c +++ b/xboard.c @@ -2461,6 +2461,19 @@ XBoard square size (hint): %d\n\ (XtEventHandler) EventProc, NULL); /* end why */ + /* [AS] Restore layout */ + if( wpMoveHistory.visible ) { + HistoryPopUp(); + } + +// if( wpEvalGraph.visible ) { +// EvalGraphPopUp(); +// } + + if( wpEngineOutput.visible ) { + EngineOutputPopUp(); + } + InitBackEnd2(); if (errorExitStatus == -1) { @@ -5592,6 +5605,7 @@ void CopyPositionProc(w, event, prms, nprms) * have a notion of a position that is selected but not copied. * See http://www.freedesktop.org/wiki/Specifications/ClipboardsWiki */ + if(gameMode == EditPosition) EditPositionDone(TRUE); if (selected_fen_position) free(selected_fen_position); selected_fen_position = (char *)PositionToFEN(currentMove, NULL); if (!selected_fen_position) return;