Mercurial > emacs
changeset 14286:5d42664b4e74
(change_frame_size_1) [MSDOS]: Support frame size
changing as best as possible.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 24 Jan 1996 22:33:54 +0000 |
parents | 6081221167de |
children | 6cf50a9ff10f |
files | src/dispnew.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Wed Jan 24 22:33:33 1996 +0000 +++ b/src/dispnew.c Wed Jan 24 22:33:54 1996 +0000 @@ -2145,6 +2145,13 @@ && 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)