* src/haikuterm.c (haiku_start_clip):
(haiku_end_clip): Stop obtaining the draw lock.
(haiku_draw_glyph_string): Set draw lock here instead.
haiku_start_clip (struct glyph_string *s)
{
void *view = FRAME_HAIKU_VIEW (s->f);
- BView_draw_lock (view);
BView_StartClip (view);
}
{
void *view = FRAME_HAIKU_VIEW (s->f);
BView_EndClip (view);
- BView_draw_unlock (view);
}
static void
static void
haiku_draw_glyph_string (struct glyph_string *s)
{
+ void *view;
+
block_input ();
+ view = FRAME_HAIKU_VIEW (s->f);
+ BView_draw_lock (view);
prepare_face_for_display (s->f, s->face);
struct face *face = s->face;
}
}
haiku_end_clip (s);
+ BView_draw_unlock (view);
unblock_input ();
}