]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/haikuterm.c (haiku_draw_text_decoration): Don't lock for draws.
authorPo Lu <luangruo@yahoo.com>
Thu, 3 Feb 2022 05:21:33 +0000 (05:21 +0000)
committerPo Lu <luangruo@yahoo.com>
Thu, 3 Feb 2022 05:21:33 +0000 (05:21 +0000)
src/haikuterm.c

index eb58d1714eaab49cda0609edeef5866375ca2eac..1b2259bcc59a02328f8980f261c0448b4c13b266 100644 (file)
@@ -610,7 +610,6 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face,
     return;
 
   void *view = FRAME_HAIKU_VIEW (s->f);
-  BView_draw_lock (view);
 
   if (face->underline)
     {
@@ -744,8 +743,6 @@ haiku_draw_text_decoration (struct glyph_string *s, struct face *face,
 
       BView_FillRectangle (view, s->x, glyph_y + dy, s->width, h);
     }
-
-  BView_draw_unlock (view);
 }
 
 static void