From a0ebc6f20f59f57b03379756b509349c6ba46f99 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 23 Apr 2022 00:36:45 +0000 Subject: [PATCH] Avoid clearing splash screen message during DND on Haiku * src/haikuterm.c (haiku_read_socket): Respect any_help_event_p when sending help events for DND. --- src/haikuterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index 8c6d620b0f7..4f671cddd0c 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -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 ()) { -- 2.39.2