+2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * msdos.c (dos_set_window_size): Update screen dimension
+ variables.
+
2000-10-21 Jason Rumney <jasonr@gnu.org>
* w32term.c (w32_cache_char_metrics): Double check that font is
*rows = ScreenRows ();
*cols = ScreenCols ();
+ /* Update Emacs' notion of screen dimensions. */
+ screen_size_X = *cols;
+ screen_size_Y = *rows;
+ screen_size = *cols * *rows;
+
#if __DJGPP__ > 1
/* If the dimensions changed, the mouse highlight info is invalid. */
if (current_rows != *rows || current_cols != *cols)