diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-01-24 22:33:54 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-01-24 22:33:54 +0000 |
commit | a8d44b92b613bc96263d2d81aa23cd7f6ccce0ab (patch) | |
tree | abdf95c21de14e37967557acb8fe3a7c9a4e11ca /src | |
parent | b5185e117d6ed607c0a84efd1fa7e1994a65d112 (diff) | |
download | emacs-a8d44b92b613bc96263d2d81aa23cd7f6ccce0ab.tar.gz |
(change_frame_size_1) [MSDOS]: Support frame size
changing as best as possible.
Diffstat (limited to 'src')
-rw-r--r-- | src/dispnew.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index b0e0fb31990..b0ee4066e6f 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -2145,6 +2145,13 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay) && newwidth == FRAME_WIDTH (frame)) return; +#ifdef MSDOS + /* We only can set screen dimensions to certain values supported + by our video hardware. Try to find the smallest size greater + or equal to the requested dimensions. */ + dos_set_window_size (&newheight, &newwidth); +#endif + if (newheight != FRAME_HEIGHT (frame)) { if (FRAME_HAS_MINIBUF_P (frame) |