X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xboard.c;h=6750a6f49e5c9f9fd887707b106cdc22990315bd;hb=9be4b067e4e5d8026be07acd417b51b4ee377822;hp=8ed35b281da073d299d3ef0f2badcb6a021a9256;hpb=50d46f9ac95d6fc78b15264f7fa6ed0b220571a6;p=xboard.git diff --git a/xboard.c b/xboard.c index 8ed35b2..6750a6f 100644 --- a/xboard.c +++ b/xboard.c @@ -359,7 +359,7 @@ Widget layoutWidget, formWidget, boardWidget, messageWidget, menuBarWidget, editShell, errorShell, analysisShell, ICSInputShell, fileNameShell, askQuestionShell; -Widget historyShell, evalGraphShell, gameListShell; +Widget evalGraphShell, gameListShell; //XSegment gridSegments[BOARD_RANKS + BOARD_FILES + 2]; //XSegment jailGridSegments[BOARD_RANKS + BOARD_FILES + 6]; @@ -1187,6 +1187,7 @@ ParseCommPortSettings(char *s) extern Widget engineOutputShell; extern Widget tagsShell, editTagsShell; + void GetActualPlacement(Widget wg, WindowPlacement *wp) { @@ -1216,7 +1217,7 @@ GetWindowCoords() // GetActualPlacement(shellWidget, &wpMain); if(EngineOutputIsUp()) GetActualPlacement(engineOutputShell, &wpEngineOutput); else - if(MoveHistoryIsUp()) GetActualPlacement(historyShell, &wpMoveHistory); +// if(MoveHistoryIsUp()) GetActualPlacement(historyShell, &wpMoveHistory); if(EvalGraphIsUp()) GetActualPlacement(evalGraphShell, &wpEvalGraph); if(GameListIsUp()) GetActualPlacement(gameListShell, &wpGameList); if(commentShell) GetActualPlacement(commentShell, &wpComment);