changeset 4307:1bdc3bc255a4

[xemacs-hg @ 2007-12-05 08:26:00 by stephent] Fix frame resize bug with multiple frames on one TTY. <878x4bxast.fsf@uwakimon.sk.tsukuba.ac.jp>
author stephent
date Wed, 05 Dec 2007 08:26:03 +0000
parents 0691e049c9a2
children 41e88d0c934e
files src/ChangeLog src/frame.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Dec 04 22:50:59 2007 +0000
+++ b/src/ChangeLog	Wed Dec 05 08:26:03 2007 +0000
@@ -1,3 +1,9 @@
+2007-12-02  Ron Isaacson  <ron.isaacson@morganstanley.com>
+
+	* frame.c (change_frame_size):
+	(change_frame_size_1):
+	Must reset pending flag per-frame, so do it in the latter.
+
 2007-12-04  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* file-coding.c:
--- a/src/frame.c	Tue Dec 04 22:50:59 2007 +0000
+++ b/src/frame.c	Wed Dec 05 08:26:03 2007 +0000
@@ -3273,6 +3273,7 @@
   default_face_height_and_width_1 (frame, &font_height, &font_width);
 
   /* This size-change overrides any pending one for this frame.  */
+  f->size_change_pending = 0;
   FRAME_NEW_HEIGHT (f) = 0;
   FRAME_NEW_WIDTH (f) = 0;
 
@@ -3450,7 +3451,6 @@
       return;
     }
 
-  f->size_change_pending = 0;
   /* For TTY frames, it's like one, like all ...
      Can't have two TTY frames of different sizes on the same device. */
   if (FRAME_TTY_P (f))