summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-04-02 03:45:07 +0000
committerRichard M. Stallman <rms@gnu.org>1997-04-02 03:45:07 +0000
commit3764d51c6231afb63fb9c8c4a30bb60cc5b5d36b (patch)
treefbe9192871e4249b3a788ed8a32dc73c0f09244d /src/dispnew.c
parent2fe88e445beea53cd3aedd844fe60907602739e6 (diff)
downloademacs-3764d51c6231afb63fb9c8c4a30bb60cc5b5d36b.tar.gz
(change_frame_size_1): Call Fset_window_buffer,
so that Vwindow_configuration_change_hook gets run.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 931ad978b73..eb046376144 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2225,6 +2225,10 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
calculate_costs (frame);
UNBLOCK_INPUT;
+
+ /* This isn't quite a no-op: it runs window-configuration-change-hook. */
+ Fset_window_buffer (FRAME_SELECTED_WINDOW (frame),
+ XWINDOW (FRAME_SELECTED_WINDOW (frame))->buffer);
}
DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,