From: Kim F. Storm Date: Fri, 7 Oct 2005 21:47:49 +0000 (+0000) Subject: (redraw_overlapped_rows, redraw_overlapping_rows) X-Git-Tag: emacs-pretest-22.0.90~6762 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93e023fcee6863f22cebaf51dfe140a187f9eadc;p=emacs.git (redraw_overlapped_rows, redraw_overlapping_rows) [!HAVE_WINDOW_SYSTEM]: Don't declare them... (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. --- diff --git a/src/dispnew.c b/src/dispnew.c index 43cfd46da39..09a957b6dce 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -3963,6 +3963,7 @@ update_single_window (w, force_p) } } +#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 @@ redraw_overlapping_rows (w, yb) } } +#endif /* HAVE_WINDOW_SYSTEM */ + #ifdef GLYPH_DEBUG @@ -4229,11 +4232,13 @@ update_window (w, force_p) /* 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);