]> git.eshelyaron.com Git - emacs.git/commitdiff
Reduce flicker on Haiku Emacs tooltips
authorPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 06:54:08 +0000 (06:54 +0000)
committerPo Lu <luangruo@yahoo.com>
Sun, 9 Jan 2022 06:54:08 +0000 (06:54 +0000)
* src/haikuterm.c (haiku_read_socket): Ignore motion events from
tooltip frames.

src/haikuterm.c

index 77e030221ee00694f3a4b7dc41f60b4f8b605f07..dad40b8509ca5c709268ec56eddcc3b368efe277 100644 (file)
@@ -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;