* src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
This commit is contained in:
parent
a31fdf42db
commit
dc57bb4d46
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
|
|||
if (new_windows_width != old_windows_width)
|
||||
{
|
||||
resize_frame_windows (f, new_windows_width, 1, 1);
|
||||
FRAME_WINDOW_SIZES_CHANGED (f) = true;
|
||||
|
||||
/* MSDOS frames cannot PRETEND, as they change frame size by
|
||||
manipulating video hardware. */
|
||||
|
@ -543,6 +544,7 @@ adjust_frame_size (struct frame *f, int new_width, int new_height, int inhibit,
|
|||
|| WINDOW_TOP_PIXEL_EDGE (r) != FRAME_TOP_MARGIN_HEIGHT (f))
|
||||
{
|
||||
resize_frame_windows (f, new_windows_height, 0, 1);
|
||||
FRAME_WINDOW_SIZES_CHANGED (f) = true;
|
||||
|
||||
/* MSDOS frames cannot PRETEND, as they change frame size by
|
||||
manipulating video hardware. */
|
||||
|
|
Loading…
Add table
Reference in a new issue