Mercurial > emacs
diff src/dispnew.c @ 65905:a82ae68a578e
(redraw_overlapped_rows, redraw_overlapping_rows)
[!HAVE_WINDOW_SYSTEM]: Don't declare them...
(update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 07 Oct 2005 21:47:49 +0000 |
parents | 1a7a619caf97 |
children | 3bd95f4f2941 08b4dd6a6e87 5e2d3828e89f |
line wrap: on
line diff
--- a/src/dispnew.c Fri Oct 07 21:47:18 2005 +0000 +++ b/src/dispnew.c Fri Oct 07 21:47:49 2005 +0000 @@ -3963,6 +3963,7 @@ } } +#ifdef HAVE_WINDOW_SYSTEM /* Redraw lines from the current matrix of window W that are overlapped by other rows. YB is bottom-most y-position in W. */ @@ -4069,6 +4070,8 @@ } } +#endif /* HAVE_WINDOW_SYSTEM */ + #ifdef GLYPH_DEBUG @@ -4229,11 +4232,13 @@ /* Fix the appearance of overlapping/overlapped rows. */ if (!paused_p && !w->pseudo_window_p) { +#ifdef HAVE_WINDOW_SYSTEM if (changed_p && rif->fix_overlapping_area) { redraw_overlapped_rows (w, yb); redraw_overlapping_rows (w, yb); } +#endif /* Make cursor visible at cursor position of W. */ set_window_cursor_after_update (w);