diff options
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) | |||
| 2145 | && newwidth == FRAME_WIDTH (frame)) | 2145 | && newwidth == FRAME_WIDTH (frame)) |
| 2146 | return; | 2146 | return; |
| 2147 | 2147 | ||
| 2148 | #ifdef MSDOS | ||
| 2149 | /* We only can set screen dimensions to certain values supported | ||
| 2150 | by our video hardware. Try to find the smallest size greater | ||
| 2151 | or equal to the requested dimensions. */ | ||
| 2152 | dos_set_window_size (&newheight, &newwidth); | ||
| 2153 | #endif | ||
| 2154 | |||
| 2148 | if (newheight != FRAME_HEIGHT (frame)) | 2155 | if (newheight != FRAME_HEIGHT (frame)) |
| 2149 | { | 2156 | { |
| 2150 | if (FRAME_HAS_MINIBUF_P (frame) | 2157 | if (FRAME_HAS_MINIBUF_P (frame) |