emacs-diffs
[Top][All Lists]
Advanced

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

master 574c5d1de4: * src/nsfns.m (ns_move_tooltip_to_mouse_location): Ha


From: Po Lu
Subject: master 574c5d1de4: * src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames.
Date: Sat, 11 Jun 2022 22:13:18 -0400 (EDT)

branch: master
commit 574c5d1de420b8257b6174b2023219d372f41919
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames.
---
 src/nsfns.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nsfns.m b/src/nsfns.m
index add4883e1f..5ab2b2ee35 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -3816,7 +3816,8 @@ ns_move_tooltip_to_mouse_location (NSPoint screen_point)
   if (ns_tooltip)
     size = [ns_tooltip frame].size;
   else if (!FRAMEP (tip_frame)
-          || !FRAME_LIVE_P (XFRAME (tip_frame)))
+          || !FRAME_LIVE_P (XFRAME (tip_frame))
+          || !FRAME_VISIBLE_P (XFRAME (tip_frame)))
     return;
   else
     {



reply via email to

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