]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames.
authorPo Lu <luangruo@yahoo.com>
Sun, 12 Jun 2022 02:13:04 +0000 (10:13 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 12 Jun 2022 02:13:04 +0000 (10:13 +0800)
src/nsfns.m

index add4883e1fde6d6d362a66c5a418c076e854a6c1..5ab2b2ee35ac8661378d159e83bd2a95eb9a3b0a 100644 (file)
@@ -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
     {