From: Po Lu Date: Sun, 12 Jun 2022 02:13:04 +0000 (+0800) Subject: * src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames. X-Git-Tag: emacs-29.0.90~1910^2~65 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=574c5d1de420b8257b6174b2023219d372f41919;p=emacs.git * src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames. --- diff --git a/src/nsfns.m b/src/nsfns.m index add4883e1fd..5ab2b2ee35a 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 {