HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a4a6c0
)
(change_frame_size_1) [MSDOS]: Support frame size
author
Karl Heuer
<kwzh@gnu.org>
Wed, 24 Jan 1996 22:33:54 +0000
(22:33 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 24 Jan 1996 22:33:54 +0000
(22:33 +0000)
changing as best as possible.
src/dispnew.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dispnew.c
b/src/dispnew.c
index
b0e0fb3
..
b0ee406
100644
(file)
--- 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)