From a78a5b1346683b882613dca1a63d47359fcc8983 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 11 May 2022 01:21:18 +0000 Subject: [PATCH] Make reliefs on Haiku more like X * src/haikuterm.c (haiku_draw_relief_rect): Use frame background (normal GC) for corners. --- src/haikuterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index 26ea69758b1..28ab66c9bce 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -715,7 +715,7 @@ haiku_draw_relief_rect (struct glyph_string *s, int left_x, int top_y, if (vwidth > 1 && right_p) BView_StrokeLine (view, right_x, top_y, right_x, bottom_y); - BView_SetHighColor (view, s->face->background); + BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (s->f)); /* Omit corner pixels. */ if (hwidth > 1 && vwidth > 1) -- 2.39.2