From: H.G. Muller Date: Tue, 24 Nov 2009 04:22:58 +0000 (-0800) Subject: restoring windows (EngineOutput and MoveHistory) on startup X-Git-Tag: hgm-4.20100107~33 X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=db281e5a0b73126f45ceee952b55ab0bfb235a02 restoring windows (EngineOutput and MoveHistory) on startup restoring the open / closed status of the auxiliary windows (EngineOutput and MoveHistory) on startup in XBoard like they do in WinBoard, which makes sense now that we aso remember their coordinates between sessions. --- diff --git a/xboard.c b/xboard.c index d505eb5..900d5b9 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) {