diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-12 10:13:04 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-12 10:13:04 +0800 |
commit | 574c5d1de420b8257b6174b2023219d372f41919 (patch) | |
tree | f3e43f4d923bf4ebb8f7ff80b0e3c332bd9be3d2 /src/nsfns.m | |
parent | 0adbb21ece4af494e7050281dc022d5f7a11f196 (diff) | |
download | emacs-574c5d1de420b8257b6174b2023219d372f41919.tar.gz emacs-574c5d1de420b8257b6174b2023219d372f41919.tar.bz2 emacs-574c5d1de420b8257b6174b2023219d372f41919.zip |
* src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames.
Diffstat (limited to 'src/nsfns.m')
-rw-r--r-- | src/nsfns.m | 3 |
1 files changed, 2 insertions, 1 deletions
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 { |