]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f.
authorPo Lu <luangruo@yahoo.com>
Fri, 10 Jun 2022 01:15:25 +0000 (01:15 +0000)
committerPo Lu <luangruo@yahoo.com>
Fri, 10 Jun 2022 01:15:25 +0000 (01:15 +0000)
src/haikuselect.c

index b69fcfff13e4834b481934faca7c05007d2ca8b9..b319aace96cae18bdc3dab9c7aea49eacd0a1d94 100644 (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);