# HG changeset patch # User Kim F. Storm # Date 1124660902 0 # Node ID 67861e2e09d6eebdc3ad83f0b9f3d4983d8dcc42 # Parent fa10c4ebc29a24ade1eebbe29688c124e01b5638 * fringe.c (update_window_fringes): Only put TOP and BOTTOM bitmaps on fully visible rows. diff -r fa10c4ebc29a -r 67861e2e09d6 src/fringe.c --- a/src/fringe.c Sun Aug 21 21:47:55 2005 +0000 +++ b/src/fringe.c Sun Aug 21 21:48:22 2005 +0000 @@ -850,7 +850,8 @@ { if (!done_top) { - if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer))) + if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer)) + && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P (w, row)) row->indicate_bob_p = !NILP (boundary_top); else row->indicate_top_line_p = !NILP (arrow_top); @@ -859,7 +860,8 @@ if (!done_bot) { - if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer))) + if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)) + && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P (w, row)) row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; else if (y + row->height >= yb) row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1;