# HG changeset patch # User Gerd Moellmann # Date 1004461094 0 # Node ID 968b78eb17fc37220f14b8711adb41e474f3dc74 # Parent 2d5533815f3ac73abbd706fc88a7a9b8983fbf7b (clear_garbaged_frames): Redraw the frame only if its resized_p flag is set. If not set, use the much less flickering method previously used. diff -r 2d5533815f3a -r 968b78eb17fc src/xdisp.c --- a/src/xdisp.c Tue Oct 30 16:38:10 2001 +0000 +++ b/src/xdisp.c Tue Oct 30 16:58:14 2001 +0000 @@ -6974,9 +6974,14 @@ if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) { + if (f->resized_p) + { + Fredraw_frame (frame); + fprintf (stderr, "redraw frame\n"); + } clear_current_matrices (f); f->garbaged = 0; - Fredraw_frame (frame); + f->resized_p = 0; } }