From: Po Lu Date: Thu, 13 Jan 2022 01:59:23 +0000 (+0000) Subject: Block input when drawing fringe bitmaps on Haiku X-Git-Tag: emacs-29.0.90~3104 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=931b6ac973941f564c2c32ac810dd3522558eae1;p=emacs.git Block input when drawing fringe bitmaps on Haiku * src/haikuterm.c (haiku_draw_fringe_bitmap): Block input. --- diff --git a/src/haikuterm.c b/src/haikuterm.c index be28649aef2..47199c139c6 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -2222,6 +2222,7 @@ haiku_draw_fringe_bitmap (struct window *w, struct glyph_row *row, void *view = FRAME_HAIKU_VIEW (XFRAME (WINDOW_FRAME (w))); struct face *face = p->face; + block_input (); BView_draw_lock (view); BView_StartClip (view); @@ -2256,6 +2257,7 @@ haiku_draw_fringe_bitmap (struct window *w, struct glyph_row *row, } BView_EndClip (view); BView_draw_unlock (view); + unblock_input (); } static void