1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f.

This commit is contained in:
Po Lu 2022-06-10 01:15:25 +00:00
parent 0e2f94ded0
commit 6d2bad20bb

View file

@ -995,7 +995,7 @@ haiku_note_drag_motion (void)
{
tip_f = XFRAME (tip_frame);
if (FRAME_LIVE_P (tip_f))
if (FRAME_LIVE_P (tip_f) && FRAME_VISIBLE_P (tip_f))
{
BView_get_mouse (FRAME_HAIKU_VIEW (haiku_dnd_frame),
&x, &y);