]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid clearing splash screen message during DND on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 23 Apr 2022 00:36:45 +0000 (00:36 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 23 Apr 2022 00:36:45 +0000 (00:36 +0000)
* src/haikuterm.c (haiku_read_socket): Respect any_help_event_p
when sending help events for DND.

src/haikuterm.c

index 8c6d620b0f7d4808aa7ef5b606a0e5e8b81325dc..4f671cddd0c7e8f0152f40f7f2e9d1f1984ed829 100644 (file)
@@ -3164,7 +3164,8 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit)
                    /* It doesn't make sense to show tooltips when
                       another program is dragging stuff over us.  */
 
-                   do_help = -1;
+                   if (any_help_event_p || do_help)
+                     do_help = -1;
 
                    if (!be_drag_and_drop_in_progress ())
                      {