diff --git a/windows/window.c b/windows/window.c index 26ef3bbf..cf1d0e88 100644 --- a/windows/window.c +++ b/windows/window.c @@ -3072,7 +3072,7 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message, width = LOWORD(lParam); height = HIWORD(lParam); - if (wParam == SIZE_MAXIMIZED && !was_zoomed) { + if (wParam == SIZE_MAXIMIZED) { was_zoomed = true; prev_rows = term->rows; prev_cols = term->cols;