restoring windows (EngineOutput and MoveHistory) on startup
[xboard.git] / xboard.c
index d505eb5..900d5b9 100644 (file)
--- 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) {