From: Gerd Moellmann Date: Tue, 27 Jul 1999 00:02:50 +0000 (+0000) Subject: (x_setup_relief_color): Don't try smart color allocation X-Git-Tag: emacs-pretest-21.0.90~7358 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b9432a852b2aeb62af19e2481ccc4ac788c10def;p=emacs.git (x_setup_relief_color): Don't try smart color allocation if display is mono. (x_draw_row_bitmaps): If face has stipple, don't switch to foreground color for clearing areas, and set the fill style. --- diff --git a/src/xterm.c b/src/xterm.c index 8e4ed0407ac..59a04fd5ea2 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2376,9 +2376,7 @@ x_get_glyph_string_clip_rect (s, r) r->x -= width; } - /* If row should not extend over internal borders, adjust x. */ - if (!s->row->internal_border_p) - r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f); + r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f); /* Unless displaying a mode or menu bar line, which are always fully visible, clip to the visible part of the row. */ @@ -4266,13 +4264,8 @@ x_draw_glyphs (w, x, row, area, start, end, hl, real_start, real_end) x -= width; } - /* If row should extend over internal borders, adjust x and - width accordingly. */ - if (!row->internal_border_p) - { - x += FRAME_INTERNAL_BORDER_WIDTH (f); - last_x -= FRAME_INTERNAL_BORDER_WIDTH (f); - } + x += FRAME_INTERNAL_BORDER_WIDTH (f); + last_x -= FRAME_INTERNAL_BORDER_WIDTH (f); } else {