# HG changeset patch # User stephent # Date 1196843163 0 # Node ID 1bdc3bc255a467a4342f17966aeda2ab640a9cd4 # Parent 0691e049c9a2c1a55acd3a542c45f6ea51cfb867 [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> diff -r 0691e049c9a2 -r 1bdc3bc255a4 src/ChangeLog --- 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 + + * 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 * file-coding.c: diff -r 0691e049c9a2 -r 1bdc3bc255a4 src/frame.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))