leave notification events for this. */
if (any_help_event_p
- && !(EQ (track_mouse, Qdrag_source)
+ && !((EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& gui_mouse_grabbed (x_display_list)))
do_help = -1;
break;
haiku_new_focus_frame (x_display_list->focused_frame);
if (any_help_event_p
- && !(EQ (track_mouse, Qdrag_source)
+ && !((EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& gui_mouse_grabbed (x_display_list)))
do_help = -1;
}
belowWindowWithWindowNumber: window_number];
w = [NSApp windowWithWindowNumber: window_number];
- if (EQ (track_mouse, Qdrag_source)
+ if (EQ (EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& w && [[w delegate] isKindOfClass: [EmacsTooltip class]])
continue;
else if (EQ (track_mouse, Qdrag_source))
break;
- if (f && EQ (track_mouse, Qdrag_source)
+ if (f && (EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& FRAME_TOOLTIP_P (f))
continue;
}
/* If CHILD is a tooltip frame, look below it if
track-mouse is drag-source. */
- if (child != None)
+ if (child != None
+ && (EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping)))
{
maybe_tooltip = x_any_window_to_frame (dpyinfo, child);
/* But never if `mouse-drag-and-drop-region' is in
progress, since that results in the tooltip being
dismissed when the mouse moves on top. */
- && !(EQ (track_mouse, Qdrag_source)
+ && !((EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& gui_mouse_grabbed (dpyinfo)))
do_help = -1;
}
in progress, since that results in the
tooltip being dismissed when the mouse moves
on top. */
- && !(EQ (track_mouse, Qdrag_source)
+ && !((EQ (track_mouse, Qdrag_source)
+ || EQ (track_mouse, Qdropping))
&& gui_mouse_grabbed (dpyinfo)))
do_help = -1;
}