]> git.eshelyaron.com Git - emacs.git/commitdiff
(clear_garbaged_frames): Redraw the frame only if its
authorGerd Moellmann <gerd@gnu.org>
Tue, 30 Oct 2001 17:03:09 +0000 (17:03 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 30 Oct 2001 17:03:09 +0000 (17:03 +0000)
resized_p flag is set.  If not set, use the much less flickering
method previously used.

src/xdisp.c

index f5a1bd0a93181b29fc3579056cc66205b9f5346f..471ffbc8b4aa0506c2241372f48ddaff93c02697 100644 (file)
@@ -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;
            }
        }