]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix redisplay after running selection hook on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 01:16:05 +0000 (01:16 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 9 Jul 2022 01:16:05 +0000 (01:16 +0000)
* src/haikuselect.c (haiku_handle_selection_clear): Call
redisplay_preserve_echo_area.

src/haikuselect.c

index 999a0f5ac2988d63efa50dba0c021a08d502ce64..03aba1f9baa8d702fa383ffb9aec71e963261975 100644 (file)
@@ -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