From db281e5a0b73126f45ceee952b55ab0bfb235a02 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 23 Nov 2009 20:22:58 -0800 Subject: [PATCH] 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. --- xboard.c | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) 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) { -- 1.7.0.4