]> code.delx.au - gnu-emacs/blobdiff - src/dispnew.c
(XTmouse_position, x_term_init):
[gnu-emacs] / src / dispnew.c
index 931ad978b73085f4583807a17f8acad97d7a41f2..691ea4be410719d72a7e2c3f09d2ac11d5534a05 100644 (file)
@@ -1961,7 +1961,7 @@ the current state.\n")
        goto changed;
     }
   /* Detect deletion of a buffer at the end of the list.  */
-  if (*vecp == Qlambda)
+  if (EQ (*vecp, Qlambda))
     return Qnil;
  changed:
   /* Start with 1 so there is room for at least one lambda at the end.  */
@@ -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);
 }
 \f
 DEFUN ("send-string-to-terminal", Fsend_string_to_terminal,