diff options
| author | Kim F. Storm | 2005-08-21 21:48:22 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-08-21 21:48:22 +0000 |
| commit | 18e1c39a823331377f538410041576140eec15ea (patch) | |
| tree | 73135efedc058f904812a914d8333c5bb7676629 /src | |
| parent | 0f467468635307820479fa9117fe5c78291e8611 (diff) | |
| download | emacs-18e1c39a823331377f538410041576140eec15ea.tar.gz emacs-18e1c39a823331377f538410041576140eec15ea.zip | |
* fringe.c (update_window_fringes): Only put TOP and BOTTOM
bitmaps on fully visible rows.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fringe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fringe.c b/src/fringe.c index 4b715844084..754ee68ca56 100644 --- a/src/fringe.c +++ b/src/fringe.c | |||
| @@ -850,7 +850,8 @@ update_window_fringes (w, keep_current_p) | |||
| 850 | { | 850 | { |
| 851 | if (!done_top) | 851 | if (!done_top) |
| 852 | { | 852 | { |
| 853 | if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer))) | 853 | if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer)) |
| 854 | && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P (w, row)) | ||
| 854 | row->indicate_bob_p = !NILP (boundary_top); | 855 | row->indicate_bob_p = !NILP (boundary_top); |
| 855 | else | 856 | else |
| 856 | row->indicate_top_line_p = !NILP (arrow_top); | 857 | row->indicate_top_line_p = !NILP (arrow_top); |
| @@ -859,7 +860,8 @@ update_window_fringes (w, keep_current_p) | |||
| 859 | 860 | ||
| 860 | if (!done_bot) | 861 | if (!done_bot) |
| 861 | { | 862 | { |
| 862 | if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer))) | 863 | if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer)) |
| 864 | && !MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P (w, row)) | ||
| 863 | row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; | 865 | row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; |
| 864 | else if (y + row->height >= yb) | 866 | else if (y + row->height >= yb) |
| 865 | row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1; | 867 | row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1; |