changeset 17282:5023bea28298

(change_frame_size_1): Call Fset_window_buffer, so that Vwindow_configuration_change_hook gets run.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Apr 1997 03:45:07 +0000
parents 4f3c71b28278
children fcb47395bde7
files src/dispnew.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Wed Apr 02 03:44:32 1997 +0000
+++ b/src/dispnew.c	Wed Apr 02 03:45:07 1997 +0000
@@ -2225,6 +2225,10 @@
   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,