From: Po Lu Date: Thu, 10 Mar 2022 10:39:03 +0000 (+0000) Subject: Fix display of minibuffer prompts in some circumstances on Haiku X-Git-Tag: emacs-29.0.90~1935 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1044338ae7537e4516e426c4090c2b6414a9b787;p=emacs.git Fix display of minibuffer prompts in some circumstances on Haiku * src/haikuterm.c (haiku_flush): Always flip buffers as long as buffer flipping is not blocked. --- diff --git a/src/haikuterm.c b/src/haikuterm.c index 413eedd6683..d3168129ce4 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -2514,7 +2514,7 @@ haiku_flush (struct frame *f) { /* This is needed for tooltip frames to work properly with double buffering. */ - if (FRAME_DIRTY_P (f) && FRAME_TOOLTIP_P (f)) + if (FRAME_DIRTY_P (f) && !buffer_flipping_blocked_p ()) haiku_flip_buffers (f); if (FRAME_VISIBLE_P (f) && !FRAME_TOOLTIP_P (f))