mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-14 03:37:38 -08:00
Fix overline display when there is a box on PGTK
* src/pgtkterm.c (pgtk_draw_glyph_string): Draw box before any text decorations.
This commit is contained in:
parent
2de147e93c
commit
13edadb492
1 changed files with 4 additions and 4 deletions
|
|
@ -2503,6 +2503,10 @@ pgtk_draw_glyph_string (struct glyph_string *s)
|
|||
|
||||
if (!s->for_overlaps)
|
||||
{
|
||||
/* Draw relief if not yet drawn. */
|
||||
if (!relief_drawn_p && s->face->box != FACE_NO_BOX)
|
||||
x_draw_glyph_string_box (s);
|
||||
|
||||
/* Draw underline. */
|
||||
if (s->face->underline)
|
||||
{
|
||||
|
|
@ -2617,10 +2621,6 @@ pgtk_draw_glyph_string (struct glyph_string *s)
|
|||
}
|
||||
}
|
||||
|
||||
/* Draw relief if not yet drawn. */
|
||||
if (!relief_drawn_p && s->face->box != FACE_NO_BOX)
|
||||
x_draw_glyph_string_box (s);
|
||||
|
||||
if (s->prev)
|
||||
{
|
||||
struct glyph_string *prev;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue