]> git.eshelyaron.com Git - emacs.git/commitdiff
Make reliefs on Haiku more like X
authorPo Lu <luangruo@yahoo.com>
Wed, 11 May 2022 01:21:18 +0000 (01:21 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 11 May 2022 01:21:18 +0000 (01:21 +0000)
* src/haikuterm.c (haiku_draw_relief_rect): Use frame background
(normal GC) for corners.

src/haikuterm.c

index 26ea69758b1c9f06a137e145e98bbf8d731da8bb..28ab66c9bcedef8046d1389077b0a60ad7bc75c6 100644 (file)
@@ -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)