Fix bug in resize trigger
[xboard.git] / xboard.c
index 4d8b3f2..54f9953 100644 (file)
--- a/xboard.c
+++ b/xboard.c
@@ -1748,7 +1748,7 @@ ReSize (WindowPlacement *wp)
            NewSurfaces();
            CreatePNGPieces(); // make newly scaled pieces
            InitDrawingSizes(0, 0); // creates grid etc.
-       }
+       } else ResizeBoardWindow(BOARD_WIDTH * (squareSize + lineGap) + lineGap, BOARD_HEIGHT * (squareSize + lineGap) + lineGap, 0);
 }
 
 static XtIntervalId delayedDragID = 0;