From 51ee62bf2872b13baec8fbcf9c175c769cd54163 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 9 Jan 2022 06:54:08 +0000 Subject: [PATCH] Reduce flicker on Haiku Emacs tooltips * src/haikuterm.c (haiku_read_socket): Ignore motion events from tooltip frames. --- src/haikuterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index 77e030221ee..dad40b8509c 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -2728,7 +2728,7 @@ haiku_read_socket (struct terminal *terminal, struct input_event *hold_quit) struct frame *f = haiku_window_to_frame (b->window); Mouse_HLInfo *hlinfo = &x_display_list->mouse_highlight; - if (!f) + if (!f || FRAME_TOOLTIP_P (f)) continue; Lisp_Object frame; -- 2.39.5