diff options
| author | Martin Rudalics | 2015-11-23 08:19:58 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2015-11-23 08:19:58 +0100 |
| commit | dc57bb4d46b91ae1f21994432f41a1dd130413a4 (patch) | |
| tree | 459281944594a428f38329e4cf28cbb137793a35 /src | |
| parent | a31fdf42db398eadfbc590fd008d3d01a407861f (diff) | |
| download | emacs-dc57bb4d46b91ae1f21994432f41a1dd130413a4.tar.gz emacs-dc57bb4d46b91ae1f21994432f41a1dd130413a4.zip | |
* src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c index c388986e351..5bafc6ed8d9 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -518,6 +518,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit, | |||
| 518 | if (new_windows_width != old_windows_width) | 518 | if (new_windows_width != old_windows_width) |
| 519 | { | 519 | { |
| 520 | resize_frame_windows (f, new_windows_width, 1, 1); | 520 | resize_frame_windows (f, new_windows_width, 1, 1); |
| 521 | FRAME_WINDOW_SIZES_CHANGED (f) = true; | ||
| 521 | 522 | ||
| 522 | /* MSDOS frames cannot PRETEND, as they change frame size by | 523 | /* MSDOS frames cannot PRETEND, as they change frame size by |
| 523 | manipulating video hardware. */ | 524 | manipulating video hardware. */ |
| @@ -543,6 +544,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit, | |||
| 543 | || WINDOW_TOP_PIXEL_EDGE (r) != FRAME_TOP_MARGIN_HEIGHT (f)) | 544 | || WINDOW_TOP_PIXEL_EDGE (r) != FRAME_TOP_MARGIN_HEIGHT (f)) |
| 544 | { | 545 | { |
| 545 | resize_frame_windows (f, new_windows_height, 0, 1); | 546 | resize_frame_windows (f, new_windows_height, 0, 1); |
| 547 | FRAME_WINDOW_SIZES_CHANGED (f) = true; | ||
| 546 | 548 | ||
| 547 | /* MSDOS frames cannot PRETEND, as they change frame size by | 549 | /* MSDOS frames cannot PRETEND, as they change frame size by |
| 548 | manipulating video hardware. */ | 550 | manipulating video hardware. */ |