mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-12 22:40:46 -08:00
Make sure the cursor can't move on top of a tooltip on Haiku
* src/haikuterm.c (haiku_read_socket): Work around leave notification events not being sent on tooltip frames.
This commit is contained in:
parent
882cf2d0cd
commit
59ff15e350
1 changed files with 13 additions and 1 deletions
|
|
@ -2730,9 +2730,21 @@ 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 || FRAME_TOOLTIP_P (f))
|
||||
if (!f)
|
||||
continue;
|
||||
|
||||
if (FRAME_TOOLTIP_P (f))
|
||||
{
|
||||
/* Dismiss the tooltip if the mouse moves onto a
|
||||
tooltip frame. FIXME: for some reason we don't get
|
||||
leave notification events for this. */
|
||||
|
||||
if (any_help_event_p)
|
||||
do_help = -1;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Lisp_Object frame;
|
||||
XSETFRAME (frame, f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue