diff options
| author | YAMAMOTO Mitsuharu | 2005-10-07 07:40:35 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2005-10-07 07:40:35 +0000 |
| commit | c2ded1b7d5b6ced034c2291d5078416fbc58fafc (patch) | |
| tree | 63aa71560f94069f1d2d75bab5dfe0529b42ad8c /src/xterm.c | |
| parent | a66678fd3c23322bdebbe285086e9a6d9db1593d (diff) | |
| download | emacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.tar.gz emacs-c2ded1b7d5b6ced034c2291d5078416fbc58fafc.zip | |
Rename member for_overlaps_p in struct glyph_string to for_overlaps.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xterm.c b/src/xterm.c index 1234694de4a..af62cfd0c75 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1299,7 +1299,7 @@ x_draw_glyph_string_foreground (s) | |||
| 1299 | XDrawImageString is usually faster than XDrawString.) Always | 1299 | XDrawImageString is usually faster than XDrawString.) Always |
| 1300 | use XDrawImageString when drawing the cursor so that there is | 1300 | use XDrawImageString when drawing the cursor so that there is |
| 1301 | no chance that characters under a box cursor are invisible. */ | 1301 | no chance that characters under a box cursor are invisible. */ |
| 1302 | if (s->for_overlaps_p | 1302 | if (s->for_overlaps |
| 1303 | || (s->background_filled_p && s->hl != DRAW_CURSOR)) | 1303 | || (s->background_filled_p && s->hl != DRAW_CURSOR)) |
| 1304 | { | 1304 | { |
| 1305 | /* Draw characters with 16-bit or 8-bit functions. */ | 1305 | /* Draw characters with 16-bit or 8-bit functions. */ |
| @@ -2604,7 +2604,7 @@ x_draw_glyph_string (s) | |||
| 2604 | /* If S draws into the background of its successor, draw the | 2604 | /* If S draws into the background of its successor, draw the |
| 2605 | background of the successor first so that S can draw into it. | 2605 | background of the successor first so that S can draw into it. |
| 2606 | This makes S->next use XDrawString instead of XDrawImageString. */ | 2606 | This makes S->next use XDrawString instead of XDrawImageString. */ |
| 2607 | if (s->next && s->right_overhang && !s->for_overlaps_p) | 2607 | if (s->next && s->right_overhang && !s->for_overlaps) |
| 2608 | { | 2608 | { |
| 2609 | xassert (s->next->img == NULL); | 2609 | xassert (s->next->img == NULL); |
| 2610 | x_set_glyph_string_gc (s->next); | 2610 | x_set_glyph_string_gc (s->next); |
| @@ -2617,7 +2617,7 @@ x_draw_glyph_string (s) | |||
| 2617 | 2617 | ||
| 2618 | /* Draw relief (if any) in advance for char/composition so that the | 2618 | /* Draw relief (if any) in advance for char/composition so that the |
| 2619 | glyph string can be drawn over it. */ | 2619 | glyph string can be drawn over it. */ |
| 2620 | if (!s->for_overlaps_p | 2620 | if (!s->for_overlaps |
| 2621 | && s->face->box != FACE_NO_BOX | 2621 | && s->face->box != FACE_NO_BOX |
| 2622 | && (s->first_glyph->type == CHAR_GLYPH | 2622 | && (s->first_glyph->type == CHAR_GLYPH |
| 2623 | || s->first_glyph->type == COMPOSITE_GLYPH)) | 2623 | || s->first_glyph->type == COMPOSITE_GLYPH)) |
| @@ -2643,7 +2643,7 @@ x_draw_glyph_string (s) | |||
| 2643 | break; | 2643 | break; |
| 2644 | 2644 | ||
| 2645 | case CHAR_GLYPH: | 2645 | case CHAR_GLYPH: |
| 2646 | if (s->for_overlaps_p) | 2646 | if (s->for_overlaps) |
| 2647 | s->background_filled_p = 1; | 2647 | s->background_filled_p = 1; |
| 2648 | else | 2648 | else |
| 2649 | x_draw_glyph_string_background (s, 0); | 2649 | x_draw_glyph_string_background (s, 0); |
| @@ -2651,7 +2651,7 @@ x_draw_glyph_string (s) | |||
| 2651 | break; | 2651 | break; |
| 2652 | 2652 | ||
| 2653 | case COMPOSITE_GLYPH: | 2653 | case COMPOSITE_GLYPH: |
| 2654 | if (s->for_overlaps_p || s->gidx > 0) | 2654 | if (s->for_overlaps || s->gidx > 0) |
| 2655 | s->background_filled_p = 1; | 2655 | s->background_filled_p = 1; |
| 2656 | else | 2656 | else |
| 2657 | x_draw_glyph_string_background (s, 1); | 2657 | x_draw_glyph_string_background (s, 1); |
| @@ -2662,7 +2662,7 @@ x_draw_glyph_string (s) | |||
| 2662 | abort (); | 2662 | abort (); |
| 2663 | } | 2663 | } |
| 2664 | 2664 | ||
| 2665 | if (!s->for_overlaps_p) | 2665 | if (!s->for_overlaps) |
| 2666 | { | 2666 | { |
| 2667 | /* Draw underline. */ | 2667 | /* Draw underline. */ |
| 2668 | if (s->face->underline_p) | 2668 | if (s->face->underline_p) |