From: Po Lu Date: Fri, 10 Jun 2022 01:15:25 +0000 (+0000) Subject: * src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f. X-Git-Tag: emacs-29.0.90~1910^2~118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d2bad20bb7778a3f467d66f38ec2d3fb8de5a91;p=emacs.git * src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f. --- diff --git a/src/haikuselect.c b/src/haikuselect.c index b69fcfff13e..b319aace96c 100644 --- a/src/haikuselect.c +++ b/src/haikuselect.c @@ -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);