emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0a4d9f26ee: Fix tooltip buffer flipping inside popup menus


From: Po Lu
Subject: master 0a4d9f26ee: Fix tooltip buffer flipping inside popup menus
Date: Thu, 19 May 2022 05:36:55 -0400 (EDT)

branch: master
commit 0a4d9f26ee9b24ecf0a8b1fb14d4b4bab5daa3ae
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix tooltip buffer flipping inside popup menus
    
    * src/xterm.c (x_flip_and_flush): Don't ignore if
    `inhibit-redisplay' but F is a tooltip frame.  (bug#55519)
---
 src/xterm.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 48329a2fca..db3f41e688 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -5621,7 +5621,10 @@ x_flip_and_flush (struct frame *f)
   /* Flipping buffers requires a working connection to the X server,
      which isn't always present if `inhibit-redisplay' is t, since
      this can be called from the IO error handler.  */
-  if (!NILP (Vinhibit_redisplay))
+  if (!NILP (Vinhibit_redisplay)
+      /* This has to work for tooltip frames, however, and redisplay
+        cannot happen when they are being flushed anyway.  (bug#55519) */
+      && !FRAME_TOOLTIP_P (f))
     return;
 
   block_input ();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]