diff options
| author | Karoly Lorentey | 2004-11-28 14:39:06 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-11-28 14:39:06 +0000 |
| commit | 856dd47583918edd7987c13334703d3e7492d8f4 (patch) | |
| tree | f7a693c913861be752d3732c60bac26cbad01611 /src | |
| parent | 8eaaac8c8b1e45ad8a7612c9878f242103255995 (diff) | |
| download | emacs-856dd47583918edd7987c13334703d3e7492d8f4.tar.gz emacs-856dd47583918edd7987c13334703d3e7492d8f4.zip | |
Remove remaining references to updating_frame.
* src/dispextern.h (updated_window): Remove comment reference to
updating_frame.
* src/dispnew.c (update_window): Remove bogus xassert.
* src/xterm.c: (x_clear_frame): Update comment.
(x_draw_window_cursor): Remove reference to updating_frame.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-270
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispextern.h | 3 | ||||
| -rw-r--r-- | src/dispnew.c | 1 | ||||
| -rw-r--r-- | src/xterm.c | 6 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index d2ca9564ef8..99cf38249ac 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1013,8 +1013,7 @@ extern int fonts_changed_p; | |||
| 1013 | extern struct glyph space_glyph; | 1013 | extern struct glyph space_glyph; |
| 1014 | 1014 | ||
| 1015 | /* Window being updated by update_window. This is non-null as long as | 1015 | /* Window being updated by update_window. This is non-null as long as |
| 1016 | update_window has not finished, and null otherwise. It's role is | 1016 | update_window has not finished, and null otherwise. */ |
| 1017 | analogous to updating_frame. */ | ||
| 1018 | 1017 | ||
| 1019 | extern struct window *updated_window; | 1018 | extern struct window *updated_window; |
| 1020 | 1019 | ||
diff --git a/src/dispnew.c b/src/dispnew.c index a148f27a1ef..f2fac47a7c2 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -4071,7 +4071,6 @@ update_window (w, force_p) | |||
| 4071 | 4071 | ||
| 4072 | /* Check that W's frame doesn't have glyph matrices. */ | 4072 | /* Check that W's frame doesn't have glyph matrices. */ |
| 4073 | xassert (FRAME_WINDOW_P (f)); | 4073 | xassert (FRAME_WINDOW_P (f)); |
| 4074 | xassert (updating_frame != NULL); | ||
| 4075 | 4074 | ||
| 4076 | /* Check pending input the first time so that we can quickly return. */ | 4075 | /* Check pending input the first time so that we can quickly return. */ |
| 4077 | if (redisplay_dont_pause) | 4076 | if (redisplay_dont_pause) |
diff --git a/src/xterm.c b/src/xterm.c index 5c7775d6777..480ee1c624a 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2796,8 +2796,7 @@ x_clear_area (dpy, window, x, y, width, height, exposures) | |||
| 2796 | } | 2796 | } |
| 2797 | 2797 | ||
| 2798 | 2798 | ||
| 2799 | /* Clear entire frame. If updating_frame is non-null, clear that | 2799 | /* Clear an entire frame. */ |
| 2800 | frame. Otherwise clear the selected frame. */ | ||
| 2801 | 2800 | ||
| 2802 | static void | 2801 | static void |
| 2803 | x_clear_frame (struct frame *f) | 2802 | x_clear_frame (struct frame *f) |
| @@ -7390,8 +7389,7 @@ x_draw_window_cursor (w, glyph_row, x, y, cursor_type, cursor_width, on_p, activ | |||
| 7390 | } | 7389 | } |
| 7391 | 7390 | ||
| 7392 | #ifndef XFlush | 7391 | #ifndef XFlush |
| 7393 | if (updating_frame != f) | 7392 | XFlush (FRAME_X_DISPLAY (f)); |
| 7394 | XFlush (FRAME_X_DISPLAY (f)); | ||
| 7395 | #endif | 7393 | #endif |
| 7396 | } | 7394 | } |
| 7397 | 7395 | ||