From 6d2bad20bb7778a3f467d66f38ec2d3fb8de5a91 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 10 Jun 2022 01:15:25 +0000 Subject: [PATCH] * src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f. --- src/haikuselect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2