mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(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.
This commit is contained in:
parent
f2c41cc0ba
commit
6bb958822d
@ -6974,9 +6974,14 @@ clear_garbaged_frames ()
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user