Commit bed43f1d authored by Eli Zaretskii's avatar Eli Zaretskii

(dos_set_window_size): Update screen dimension variables.

parent 34939e2c
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
......
......@@ -670,6 +670,11 @@ dos_set_window_size (rows, cols)
*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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment