aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 9dc6b17d1ce..bd6070f9091 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -6176,6 +6176,13 @@ x_set_window_size (struct frame *f, bool change_gravity,
6176 6176
6177 if (pixelwidth > 0 || pixelheight > 0) 6177 if (pixelwidth > 0 || pixelheight > 0)
6178 { 6178 {
6179 frame_size_history_add
6180 (f, Qx_set_window_size_1, width, height,
6181 list2 (Fcons (make_number (pixelwidth),
6182 make_number (pixelheight)),
6183 Fcons (make_number (rect.right - rect.left),
6184 make_number (rect.bottom - rect.top))));
6185
6179 my_set_window_pos (FRAME_W32_WINDOW (f), NULL, 6186 my_set_window_pos (FRAME_W32_WINDOW (f), NULL,
6180 0, 0, 6187 0, 0,
6181 rect.right - rect.left, 6188 rect.right - rect.left,