diff options
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 8544d9e3e10..e2d571a847f 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -5237,7 +5237,7 @@ Value is t if tooltip was open, nil otherwise. */) /* When using system tooltip, tip_frame is the Emacs frame on which the tip is shown. */ f = XFRAME (frame); - if (xg_hide_tooltip (f)) + if (FRAME_LIVE_P (f) && xg_hide_tooltip (f)) frame = Qnil; #endif |