From 16472f675cd207012ab77cfca470f5a023dbc37c Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 30 Oct 2001 17:03:09 +0000 Subject: [PATCH] (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. --- src/xdisp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index f5a1bd0a931..471ffbc8b4a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6982,9 +6982,10 @@ clear_garbaged_frames () if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) { + if (f->resized_p) + Fredraw_frame (frame); clear_current_matrices (f); - f->garbaged = 0; - Fredraw_frame (frame); + f->garbaged = f->resized_p = 0; } } -- 2.39.2