emacs-diffs
[Top][All Lists]
Advanced

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

master 29c8866c7f: Fix redisplay after running selection hook on Haiku


From: Po Lu
Subject: master 29c8866c7f: Fix redisplay after running selection hook on Haiku
Date: Fri, 8 Jul 2022 21:17:33 -0400 (EDT)

branch: master
commit 29c8866c7fcd325995c6fc9b2b18537855fee52c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix redisplay after running selection hook on Haiku
    
    * src/haikuselect.c (haiku_handle_selection_clear): Call
    redisplay_preserve_echo_area.
---
 src/haikuselect.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/haikuselect.c b/src/haikuselect.c
index 999a0f5ac2..03aba1f9ba 100644
--- a/src/haikuselect.c
+++ b/src/haikuselect.c
@@ -1026,6 +1026,10 @@ haiku_handle_selection_clear (struct input_event *ie)
 {
   CALLN (Frun_hook_with_args,
         Qhaiku_lost_selection_functions, ie->arg);
+
+  /* This is required for redisplay to happen if something changed the
+     display inside the selection loss functions.  */
+  redisplay_preserve_echo_area (20);
 }
 
 void



reply via email to

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