]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix more problems with display of composite glyph strings on Haiku
authorPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 04:11:38 +0000 (04:11 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 04:11:38 +0000 (04:11 +0000)
* src/haikuterm.c
(haiku_draw_composite_glyph_string_foreground): Fix pen size of
placeholder rectangle.

src/haikuterm.c

index 341288133e824fc3a996007be071a2157454dffd..b903e017e408542ab6ae0fc47e76fbe835c3fcbd 100644 (file)
@@ -1349,6 +1349,8 @@ haiku_draw_composite_glyph_string_foreground (struct glyph_string *s)
        BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg);
       else
        BView_SetHighColor (view, s->face->foreground);
+
+      BView_SetPenSize (view, 1);
       BView_StrokeRectangle (view, s->x, s->y,
                             s->width, s->height);
     }