diff options
| -rw-r--r-- | src/frame.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index fa276cb38ef..831721201cc 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -2189,6 +2189,7 @@ but that the idea of the actual height of the frame should not be changed.") | |||
| 2189 | { | 2189 | { |
| 2190 | if (XINT (lines) != f->height) | 2190 | if (XINT (lines) != f->height) |
| 2191 | x_set_window_size (f, 1, f->width, XINT (lines)); | 2191 | x_set_window_size (f, 1, f->width, XINT (lines)); |
| 2192 | do_pending_window_change (); | ||
| 2192 | } | 2193 | } |
| 2193 | else | 2194 | else |
| 2194 | #endif | 2195 | #endif |
| @@ -2219,6 +2220,7 @@ but that the idea of the actual width of the frame should not be changed.") | |||
| 2219 | { | 2220 | { |
| 2220 | if (XINT (cols) != f->width) | 2221 | if (XINT (cols) != f->width) |
| 2221 | x_set_window_size (f, 1, XINT (cols), f->height); | 2222 | x_set_window_size (f, 1, XINT (cols), f->height); |
| 2223 | do_pending_window_change (); | ||
| 2222 | } | 2224 | } |
| 2223 | else | 2225 | else |
| 2224 | #endif | 2226 | #endif |
| @@ -2246,6 +2248,7 @@ DEFUN ("set-frame-size", Fset_frame_size, Sset_frame_size, 3, 3, 0, | |||
| 2246 | if (XINT (rows) != f->height || XINT (cols) != f->width | 2248 | if (XINT (rows) != f->height || XINT (cols) != f->width |
| 2247 | || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) | 2249 | || FRAME_NEW_HEIGHT (f) || FRAME_NEW_WIDTH (f)) |
| 2248 | x_set_window_size (f, 1, XINT (cols), XINT (rows)); | 2250 | x_set_window_size (f, 1, XINT (cols), XINT (rows)); |
| 2251 | do_pending_window_change (); | ||
| 2249 | } | 2252 | } |
| 2250 | else | 2253 | else |
| 2251 | #endif | 2254 | #endif |