Commit 93e023fc authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(redraw_overlapped_rows, redraw_overlapping_rows)

[!HAVE_WINDOW_SYSTEM]: Don't declare them...
(update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them.
parent f1010549
...@@ -3963,6 +3963,7 @@ update_single_window (w, force_p) ...@@ -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 /* Redraw lines from the current matrix of window W that are
overlapped by other rows. YB is bottom-most y-position in W. */ overlapped by other rows. YB is bottom-most y-position in W. */
...@@ -4069,6 +4070,8 @@ redraw_overlapping_rows (w, yb) ...@@ -4069,6 +4070,8 @@ redraw_overlapping_rows (w, yb)
} }
} }
#endif /* HAVE_WINDOW_SYSTEM */
#ifdef GLYPH_DEBUG #ifdef GLYPH_DEBUG
...@@ -4229,11 +4232,13 @@ update_window (w, force_p) ...@@ -4229,11 +4232,13 @@ update_window (w, force_p)
/* Fix the appearance of overlapping/overlapped rows. */ /* Fix the appearance of overlapping/overlapped rows. */
if (!paused_p && !w->pseudo_window_p) if (!paused_p && !w->pseudo_window_p)
{ {
#ifdef HAVE_WINDOW_SYSTEM
if (changed_p && rif->fix_overlapping_area) if (changed_p && rif->fix_overlapping_area)
{ {
redraw_overlapped_rows (w, yb); redraw_overlapped_rows (w, yb);
redraw_overlapping_rows (w, yb); redraw_overlapping_rows (w, yb);
} }
#endif
/* Make cursor visible at cursor position of W. */ /* Make cursor visible at cursor position of W. */
set_window_cursor_after_update (w); set_window_cursor_after_update (w);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment