diff options
| author | Gerd Moellmann | 2001-10-30 16:58:14 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-30 16:58:14 +0000 |
| commit | 6bb958822d87d69ed25a9db62ee0d9506f8622ad (patch) | |
| tree | 920676c8cec7e644019dc0abf9c1642b0b980583 /src | |
| parent | f2c41cc0baf744f2cff662686cf5b05ba024ce65 (diff) | |
| download | emacs-6bb958822d87d69ed25a9db62ee0d9506f8622ad.tar.gz emacs-6bb958822d87d69ed25a9db62ee0d9506f8622ad.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 3c9e0222a82..2278c05c60c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -6974,9 +6974,14 @@ clear_garbaged_frames () | |||
| 6974 | 6974 | ||
| 6975 | if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) | 6975 | if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f)) |
| 6976 | { | 6976 | { |
| 6977 | if (f->resized_p) | ||
| 6978 | { | ||
| 6979 | Fredraw_frame (frame); | ||
| 6980 | fprintf (stderr, "redraw frame\n"); | ||
| 6981 | } | ||
| 6977 | clear_current_matrices (f); | 6982 | clear_current_matrices (f); |
| 6978 | f->garbaged = 0; | 6983 | f->garbaged = 0; |
| 6979 | Fredraw_frame (frame); | 6984 | f->resized_p = 0; |
| 6980 | } | 6985 | } |
| 6981 | } | 6986 | } |
| 6982 | 6987 | ||