comparison src/dispnew.c @ 41120:7f07991cc0b2

Fringe cleanup. Comment fix. Use renamed symbols.
author Kim F. Storm <storm@cua.dk>
date Fri, 16 Nov 2001 13:02:02 +0000
parents 818a84568f83
children e669966d496e
comparison
equal deleted inserted replaced
41119:615c460b28c7 41120:7f07991cc0b2
5738 else 5738 else
5739 row = MATRIX_HEADER_LINE_ROW (w->current_matrix); 5739 row = MATRIX_HEADER_LINE_ROW (w->current_matrix);
5740 5740
5741 if (row->mode_line_p && row->enabled_p) 5741 if (row->mode_line_p && row->enabled_p)
5742 { 5742 {
5743 /* The mode lines are displayed over scroll bars and bitmap 5743 /* The mode lines are displayed over scroll bars and fringes,
5744 areas, and X is window-relative. Correct X by the scroll bar 5744 and X is window-relative. Correct X by the scroll bar
5745 and bitmap area width. */ 5745 and fringe width. */
5746 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) 5746 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
5747 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f); 5747 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
5748 x += FRAME_LEFT_FLAGS_AREA_WIDTH (f); 5748 x += FRAME_LEFT_FRINGE_WIDTH (f);
5749 5749
5750 /* Find the glyph under X. If we find one with a string object, 5750 /* Find the glyph under X. If we find one with a string object,
5751 it's the one we were looking for. */ 5751 it's the one we were looking for. */
5752 glyph = row->glyphs[TEXT_AREA]; 5752 glyph = row->glyphs[TEXT_AREA];
5753 end = glyph + row->used[TEXT_AREA]; 5753 end = glyph + row->used[TEXT_AREA];