From 1044338ae7537e4516e426c4090c2b6414a9b787 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 10 Mar 2022 10:39:03 +0000 Subject: [PATCH] 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. --- src/haikuterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2