comparison src/dispnew.c @ 25459:293b78b9ff60

(mode_line_string): Add FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 30 Aug 1999 23:14:23 +0000
parents 82213781d29e
children 7db69ecb1870
comparison
equal deleted inserted replaced
25458:803de6670aa5 25459:293b78b9ff60
5136 /* The mode lines are displayed over scroll bars and bitmap 5136 /* The mode lines are displayed over scroll bars and bitmap
5137 areas, and X is window-relative. Correct X by the scroll bar 5137 areas, and X is window-relative. Correct X by the scroll bar
5138 and bitmap area width. */ 5138 and bitmap area width. */
5139 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f)) 5139 if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
5140 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f); 5140 x += FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
5141 x += FRAME_FLAGS_AREA_WIDTH (f); 5141 x += FRAME_LEFT_FLAGS_AREA_WIDTH (f);
5142 5142
5143 /* Find the glyph under X. If we find one with a string object, 5143 /* Find the glyph under X. If we find one with a string object,
5144 it's the one we were looking for. */ 5144 it's the one we were looking for. */
5145 glyph = row->glyphs[TEXT_AREA]; 5145 glyph = row->glyphs[TEXT_AREA];
5146 end = glyph + row->used[TEXT_AREA]; 5146 end = glyph + row->used[TEXT_AREA];