# HG changeset patch # User Kim F. Storm # Date 1128721669 0 # Node ID a82ae68a578e181700bd7e69eaae58492fee73b8 # Parent b0152961a784e66cc86f9941ae5a7572f8602b7c (redraw_overlapped_rows, redraw_overlapping_rows) [!HAVE_WINDOW_SYSTEM]: Don't declare them... (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. diff -r b0152961a784 -r a82ae68a578e src/dispnew.c --- 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);