emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6d2bad20bb: * src/haikuselect.c (haiku_note_drag_motion): Only ha


From: Po Lu
Subject: master 6d2bad20bb: * src/haikuselect.c (haiku_note_drag_motion): Only handle visible tip_f.
Date: Thu, 9 Jun 2022 21:16:50 -0400 (EDT)

branch: master
commit 6d2bad20bb7778a3f467d66f38ec2d3fb8de5a91
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * 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 b69fcfff13..b319aace96 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]