aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-27 00:02:50 +0000
committerGerd Moellmann1999-07-27 00:02:50 +0000
commitb9432a852b2aeb62af19e2481ccc4ac788c10def (patch)
tree9bcfcdb57033bff2cdf6c3543e102b6e4841e991 /src
parentd7bf0342f296f664b1da30f738af382d4785946a (diff)
downloademacs-b9432a852b2aeb62af19e2481ccc4ac788c10def.tar.gz
emacs-b9432a852b2aeb62af19e2481ccc4ac788c10def.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c13
1 files changed, 3 insertions, 10 deletions
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)
2376 r->x -= width; 2376 r->x -= width;
2377 } 2377 }
2378 2378
2379 /* If row should not extend over internal borders, adjust x. */ 2379 r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f);
2380 if (!s->row->internal_border_p)
2381 r->x += FRAME_INTERNAL_BORDER_WIDTH (s->f);
2382 2380
2383 /* Unless displaying a mode or menu bar line, which are always 2381 /* Unless displaying a mode or menu bar line, which are always
2384 fully visible, clip to the visible part of the row. */ 2382 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)
4266 x -= width; 4264 x -= width;
4267 } 4265 }
4268 4266
4269 /* If row should extend over internal borders, adjust x and 4267 x += FRAME_INTERNAL_BORDER_WIDTH (f);
4270 width accordingly. */ 4268 last_x -= FRAME_INTERNAL_BORDER_WIDTH (f);
4271 if (!row->internal_border_p)
4272 {
4273 x += FRAME_INTERNAL_BORDER_WIDTH (f);
4274 last_x -= FRAME_INTERNAL_BORDER_WIDTH (f);
4275 }
4276 } 4269 }
4277 else 4270 else
4278 { 4271 {