diff src/frame.c @ 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 62d532188a28
children bc4f2511bbea
line wrap: on
line diff
--- 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))